Package | Description |
---|---|
org.jboss.reflect.plugins.javassist | |
org.jboss.reflect.plugins.javassist.expr | |
org.jboss.reflect.spi |
Extended Reflection API.
|
Modifier and Type | Class and Description |
---|---|
class |
JavassistMethodInfo
MethodInfo that relies on Javassist to answer reflective queries and to invoke
the represented method.
|
Modifier and Type | Method and Description |
---|---|
MutableMethodInfo |
JavassistTypeInfo.createMutableMethod(Body body) |
MutableMethodInfo |
JavassistTypeInfo.createMutableMethod(int modifiers,
ClassInfo returnType,
String methodName,
Body body,
ClassInfo[] parameters,
ClassInfo[] exceptions) |
MutableMethodInfo |
JavassistTypeInfo.createMutableMethod(int modifiers,
ClassInfo returnType,
String methodName,
ClassInfo[] parameters,
ClassInfo[] exceptions) |
MutableMethodInfo |
JavassistTypeInfo.createMutableMethod(int modifiers,
String returnType,
String methodName,
Body body,
String[] parameters,
String[] exceptions) |
MutableMethodInfo |
JavassistTypeInfo.createMutableMethod(int modifiers,
String returnType,
String methodName,
String[] parameters,
String[] exceptions) |
protected MutableMethodInfo |
JavassistTypeInfo.generateMethodInfo(javassist.CtMethod method)
Generate method info
|
protected MutableMethodInfo |
JavassistTypeInfo.generateMethodInfo(SignatureKey key)
Generate method info
|
protected MutableMethodInfo |
JavassistTypeInfo.generateMethodInfo(SignatureKey key,
javassist.CtMethod method)
Generate method info
|
MutableMethodInfo |
JavassistTypeInfo.getDeclaredMethod(String methodName) |
MutableMethodInfo |
JavassistTypeInfo.getDeclaredMethod(String methodName,
String... parameters) |
MutableMethodInfo |
JavassistTypeInfo.getDeclaredMethod(String methodName,
TypeInfo... parameters) |
MutableMethodInfo[] |
JavassistTypeInfo.getDeclaredMethods() |
Modifier and Type | Method and Description |
---|---|
void |
JavassistTypeInfo.addMethod(MutableMethodInfo mmi) |
void |
JavassistTypeInfo.removeMethod(MutableMethodInfo mmi) |
Modifier and Type | Method and Description |
---|---|
MutableMethodInfo |
MethodCall.getMethod()
Returns the called method.
|
MutableMethodInfo |
Expression.whereMethod()
Returns the method containing the expression represented by this object.
|
Modifier and Type | Method and Description |
---|---|
MutableMethodInfo |
MutableClassInfo.createMutableMethod(Body body)
Compiles the code included in Body and returns a MutableMethodInfo representation of it.
|
MutableMethodInfo |
MutableClassInfo.createMutableMethod(int modifiers,
ClassInfo returnType,
String name,
Body body,
ClassInfo[] parameters,
ClassInfo[] exceptions)
Compiles a method with the signature and body given by the parameters.
|
MutableMethodInfo |
MutableClassInfo.createMutableMethod(int modifiers,
ClassInfo returnType,
String name,
ClassInfo[] parameters,
ClassInfo[] exceptions)
Compiles an empty method with the signature given by the parameters.
|
MutableMethodInfo |
MutableClassInfo.createMutableMethod(int modifiers,
String returnType,
String name,
Body body,
String[] parameters,
String[] exceptions)
Compiles a method with the signature and body given by the parameters.
|
MutableMethodInfo |
MutableClassInfo.createMutableMethod(int modifiers,
String returnType,
String name,
String[] parameters,
String[] exceptions)
Compiles an empty method with the signature given by the parameters.
|
MutableMethodInfo |
MutableClassInfo.getDeclaredMethod(String name)
Get the declared method without parameters.
|
MutableMethodInfo |
MutableClassInfo.getDeclaredMethod(String name,
String... parameters)
Get the declared method
Note: the parameters will be loaded with the classloader defined in
TypeInfoFactory.
|
MutableMethodInfo |
MutableClassInfo.getDeclaredMethod(String name,
TypeInfo... parameters)
Get the declared method
|
MutableMethodInfo[] |
MutableClassInfo.getDeclaredMethods()
Get the declared methods
|
Modifier and Type | Method and Description |
---|---|
void |
MutableClassInfo.addMethod(MutableMethodInfo mmi)
Add a method
|
void |
MutableClassInfo.removeMethod(MutableMethodInfo mmi)
Remove the specified method from this class
|
Copyright © 2013 JBoss, a division of Red Hat, Inc.. All Rights Reserved.