Class Descriptor<T extends ToolLogger>
java.lang.Object
org.openjdk.asmtools.jdis.notations.Descriptor<T>
- Direct Known Subclasses:
Signature
See JVMS, section 4.4.
-
Nested Class Summary
Nested Classes -
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionDescriptor(T logger, int index) Constructor for the descriptor placed in the constant_poolDescriptor(T logger, String descriptor) Constructor for the descriptor presented as String -
Method Summary
Modifier and TypeMethodDescriptiongetFieldType(ConstantPool constant_pool) intgetParameterCount(ConstantPool constant_pool) getParameterTypes(ConstantPool constant_pool) getReturnType(ConstantPool constant_pool) getValue(ConstantPool pool) private String
-
Field Details
-
UNDEF
private static final int UNDEF- See Also:
-
index
public final int index -
descriptor
-
logger
-
count
private int count
-
-
Constructor Details
-
Descriptor
Constructor for the descriptor placed in the constant_pool- Parameters:
logger- to log any exceptions if they occur.index- a valid reference into the constant_pool table
-
Descriptor
-
-
Method Details
-
getValue
-
getParameterCount
- Throws:
Descriptor.InvalidDescriptor
-
getParameterTypes
- Throws:
Descriptor.InvalidDescriptor
-
getReturnType
- Throws:
Descriptor.InvalidDescriptor
-
getFieldType
- Throws:
Descriptor.InvalidDescriptor
-
parse
- Throws:
Descriptor.InvalidDescriptor
-