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 | 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.
|
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 . |
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 ... |
Javassist, a Java-bytecode translator toolkit.
Copyright (C) 1999- Shigeru Chiba. All Rights Reserved.