Class DirectivesClassProperties
- All Implemented Interfaces:
Iterable<org.xembly.Directive>
All the class directives are sorted according to JVM specification
u2 minor_version; {@link DirectivesClassProperties}
u2 major_version; {@link DirectivesClassProperties}
u2 constant_pool_count; (incorporated to the directives)
cp_info constant_pool[constant_pool_count-1]; (incorporated to the directives)
u2 access_flags; {@link DirectivesClassProperties}
u2 this_class; {@link DirectivesClassProperties} (class name)
u2 super_class; {@link DirectivesClassProperties}
u2 interfaces_count; {@link DirectivesClassProperties}
u2 interfaces[interfaces_count]; {@link DirectivesClassProperties}
You can read more in the official JVM specification.
- Since:
- 0.1.0
-
Constructor Summary
ConstructorsConstructorDescriptionConstructor.DirectivesClassProperties(int access) Constructor.DirectivesClassProperties(int access, String supername, String... interfaces) Constructor.Constructor.DirectivesClassProperties(Format format, int access) Constructor.DirectivesClassProperties(Format format, int version, int access, ClassName name, String supername, String... interfaces) Constructor. -
Method Summary
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface java.lang.Iterable
forEach, spliterator
-
Constructor Details
-
DirectivesClassProperties
public DirectivesClassProperties()Constructor. -
DirectivesClassProperties
Constructor.- Parameters:
format- Format of the directives.access- Access modifiers.
-
DirectivesClassProperties
Constructor.- Parameters:
name- Name of the class.
-
DirectivesClassProperties
public DirectivesClassProperties(int access) Constructor.- Parameters:
access- Access modifiers.
-
DirectivesClassProperties
Constructor.- Parameters:
access- Access modifiers.supername- Class supername.interfaces- Class interfaces.
-
DirectivesClassProperties
public DirectivesClassProperties(Format format, int version, int access, ClassName name, String supername, String... interfaces) Constructor.- Parameters:
format- Format of the directives.version- Bytecode version.access- Access modifiers.name- Class name.supername- Class supername.interfaces- Class interfaces.
-
-
Method Details