The attribute class defines the common elements of all attributes; i.e., basically the first two attribute_info elements.
The attribute class defines the common elements of all attributes; i.e., basically the first two attribute_info elements.
attribute_info {
u2 attribute_name_index;
u4 attribute_length;
u1 info[attribute_length];
...
}
Represents the ConcealedPackages attribute (Java 9).
Representation of the constant pool as specified by the JVM Specification (Java 8).
Representation of the constant pool as specified by the JVM Specification (Java 8). (This representation does not provide any abstraction.)
Exceptions_attribute {
u2 attribute_name_index;
u4 attribute_length;
u2 number_of_exceptions;
u2 exception_index_table[number_of_exceptions];
}
Exceptions_attribute {
u2 attribute_name_index;
u4 attribute_length;
u2 number_of_exceptions;
u2 exception_index_table[number_of_exceptions];
}
InnerClasses_attribute {
u2 attribute_name_index;
u4 attribute_length;
u2 number_of_classes; // => Seq[InnerClasses_attribute.Class]
{ u2 inner_class_info_index;
u2 outer_class_info_index;
u2 inner_name_index;
u2 inner_class_access_flags;
} classes[number_of_classes];
}
InnerClasses_attribute {
u2 attribute_name_index;
u4 attribute_length;
u2 number_of_classes; // => Seq[InnerClasses_attribute.Class]
{ u2 inner_class_info_index;
u2 outer_class_info_index;
u2 inner_name_index;
u2 inner_class_access_flags;
} classes[number_of_classes];
}
Java 9's MainClass attribute.
Representation of the Module attribute (Java 9).
The TargetPlatform attribute is an attribute in the attributes table of a module definition (Java 9).
The Version attribute is an attribute in the attributes table of a module definition (Java 9).
Factory methods to read class files and create ClassFile objects.
Disassembles the specified class file(s).
The type_path_kind was 0 (and the type_argument_index was also 0).
Returns a string representation of the type and the information whether the (element) type is a base type.
Returns a string representation of the type and the information whether the (element) type is a base type.
Defines convenience methods related to reading in class files.