| Modifier and Type | Class and Description |
|---|---|
class |
ArrayTypeSignature
An array type signature.
|
class |
BaseTypeSignature
A type signature for a base type (byte, char, double, float, int, long, short, boolean, or void).
|
class |
ClassRefOrTypeVariableSignature
A class type or type variable.
|
class |
ClassRefTypeSignature
A class reference type signature (called "ClassTypeSignature" in the classfile documentation).
|
class |
ReferenceTypeSignature
A type signature for a reference type.
|
class |
TypeVariableSignature
A type variable signature.
|
| Modifier and Type | Method and Description |
|---|---|
TypeSignature |
ArrayClassInfo.getElementTypeSignature()
Get the type signature of the array elements.
|
TypeSignature |
ArrayTypeSignature.getElementTypeSignature()
Get the type signature of the innermost element type of the array.
|
TypeSignature |
ArrayTypeSignature.getNestedType()
Get the nested type, which is another
ArrayTypeSignature with one dimension fewer, if this array has
2 or more dimensions, otherwise this returns the element type. |
TypeSignature |
MethodTypeSignature.getResultType()
Get the result type for the method.
|
TypeSignature |
MethodParameterInfo.getTypeDescriptor()
Method parameter type descriptor.
|
TypeSignature |
FieldInfo.getTypeDescriptor()
Returns the parsed type descriptor for the field, which will not include type parameters.
|
TypeSignature |
MethodParameterInfo.getTypeSignature()
Method parameter type signature, possibly including generic type information (or null if no type signature
information available for this parameter).
|
TypeSignature |
FieldInfo.getTypeSignature()
Returns the parsed type signature for the field, possibly including type parameters.
|
TypeSignature |
MethodParameterInfo.getTypeSignatureOrTypeDescriptor()
Method parameter type signature, or if not available, method type descriptor.
|
TypeSignature |
FieldInfo.getTypeSignatureOrTypeDescriptor()
Returns the type signature for the field, possibly including type parameters.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
BaseTypeSignature.equalsIgnoringTypeParams(TypeSignature other) |
boolean |
TypeVariableSignature.equalsIgnoringTypeParams(TypeSignature other) |
abstract boolean |
TypeSignature.equalsIgnoringTypeParams(TypeSignature other)
Compare base types, ignoring generic type parameters.
|
boolean |
ArrayTypeSignature.equalsIgnoringTypeParams(TypeSignature other) |
boolean |
ClassRefTypeSignature.equalsIgnoringTypeParams(TypeSignature other) |
Copyright © 2021. All rights reserved.