Package com.android.dx.cf.attrib
Class AttSignature
java.lang.Object
com.android.dx.cf.attrib.BaseAttribute
com.android.dx.cf.attrib.AttSignature
- All Implemented Interfaces:
Attribute
Attribute class for standards-track
Signature
attributes.-
Field Summary
Modifier and TypeFieldDescriptionstatic final String
non-null;
attribute name for attributes of this type -
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionint
Get the total length of the attribute in bytes, including the header.Gets the signature string.Methods inherited from class com.android.dx.cf.attrib.BaseAttribute
getName
-
Field Details
-
ATTRIBUTE_NAME
non-null;
attribute name for attributes of this type- See Also:
-
-
Constructor Details
-
AttSignature
Constructs an instance.- Parameters:
signature
-non-null;
the signature string
-
-
Method Details
-
byteLength
public int byteLength()Get the total length of the attribute in bytes, including the header. Since the header is always six bytes, the result of this method is always at least6
.- Returns:
>= 6;
the total length, in bytes
-
getSignature
Gets the signature string.- Returns:
non-null;
the signature string
-