Package | Description |
---|---|
javassist.bytecode |
Bytecode-level API.
|
Modifier and Type | Class and Description |
---|---|
static class |
SignatureAttribute.ArrayType
Array types.
|
static class |
SignatureAttribute.ClassType
Class types.
|
static class |
SignatureAttribute.NestedClassType
Nested class types.
|
static class |
SignatureAttribute.TypeVariable
Type variables.
|
Modifier and Type | Field and Description |
---|---|
(package private) SignatureAttribute.ObjectType |
SignatureAttribute.TypeArgument.arg |
(package private) SignatureAttribute.ObjectType[] |
SignatureAttribute.MethodSignature.exceptions |
(package private) SignatureAttribute.ObjectType |
SignatureAttribute.TypeParameter.superClass |
(package private) SignatureAttribute.ObjectType[] |
SignatureAttribute.TypeParameter.superInterfaces |
Modifier and Type | Method and Description |
---|---|
SignatureAttribute.ObjectType |
SignatureAttribute.TypeParameter.getClassBound()
Returns the class bound of this parameter.
|
SignatureAttribute.ObjectType[] |
SignatureAttribute.MethodSignature.getExceptionTypes()
Returns the types of the exceptions that may be thrown.
|
SignatureAttribute.ObjectType[] |
SignatureAttribute.TypeParameter.getInterfaceBound()
Returns the interface bound of this parameter.
|
SignatureAttribute.ObjectType |
SignatureAttribute.TypeArgument.getType()
Returns the type represented by this argument
if the argument is not a wildcard type.
|
private static SignatureAttribute.ObjectType |
SignatureAttribute.parseArray(java.lang.String sig,
SignatureAttribute.Cursor c) |
private static SignatureAttribute.ObjectType |
SignatureAttribute.parseObjectType(java.lang.String sig,
SignatureAttribute.Cursor c,
boolean dontThrow) |
static SignatureAttribute.ObjectType |
SignatureAttribute.toFieldSignature(java.lang.String sig)
Parses the given signature string as a field type signature.
|
Modifier and Type | Method and Description |
---|---|
static SignatureAttribute.TypeArgument |
SignatureAttribute.TypeArgument.subclassOf(SignatureAttribute.ObjectType t)
A factory method constructing a
TypeArgument with an upper bound. |
static SignatureAttribute.TypeArgument |
SignatureAttribute.TypeArgument.superOf(SignatureAttribute.ObjectType t)
A factory method constructing a
TypeArgument with an lower bound. |
Constructor and Description |
---|
MethodSignature(SignatureAttribute.TypeParameter[] tp,
SignatureAttribute.Type[] params,
SignatureAttribute.Type ret,
SignatureAttribute.ObjectType[] ex)
Constructs a method type signature.
|
TypeArgument(SignatureAttribute.ObjectType t)
Constructs a
TypeArgument . |
TypeArgument(SignatureAttribute.ObjectType a,
char w) |
TypeParameter(java.lang.String sig,
int nb,
int ne,
SignatureAttribute.ObjectType sc,
SignatureAttribute.ObjectType[] si) |
TypeParameter(java.lang.String sig,
int nb,
int ne,
SignatureAttribute.ObjectType sc,
SignatureAttribute.ObjectType[] si) |
TypeParameter(java.lang.String name,
SignatureAttribute.ObjectType superClass,
SignatureAttribute.ObjectType[] superInterfaces)
Constructs a
TypeParameter representing a type parametre
like <T extends ... |
TypeParameter(java.lang.String name,
SignatureAttribute.ObjectType superClass,
SignatureAttribute.ObjectType[] superInterfaces)
Constructs a
TypeParameter representing a type parametre
like <T extends ... |