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 |
JavassistConstructorInfo
ConstructorInfo that relies on Javassist to answer reflective queries and to invoke
the represented constructor.
|
Modifier and Type | Method and Description |
---|---|
void |
JavassistTypeInfo.addConstructor(MutableConstructorInfo mci) |
void |
JavassistTypeInfo.removeConstructor(MutableConstructorInfo mci) |
Modifier and Type | Method and Description |
---|---|
MutableConstructorInfo |
NewExpression.getConstructor()
Returns the constructor called for creating the object.
|
MutableConstructorInfo |
ConstructorCall.getConstructor()
Returns the called constructor.
|
MutableConstructorInfo |
Expression.whereConstructor()
Returns the constructor containing the expression represented by this object.
|
Modifier and Type | Method and Description |
---|---|
MutableConstructorInfo |
MutableClassInfo.createMutableConstructor(Body body)
Compiles the code included in the Body parameter and returns a MutableConstructorInfo
representation of it.
|
MutableConstructorInfo |
MutableClassInfo.createMutableConstructor(int modifiers,
Body body,
ClassInfo[] parameters,
ClassInfo[] exceptions)
Creates a constructor with the parameters given.
|
MutableConstructorInfo |
MutableClassInfo.createMutableConstructor(int modifiers,
Body body,
String[] parameters,
String[] exceptions)
Creates a constructor with the parameters given.
|
MutableConstructorInfo |
MutableClassInfo.createMutableConstructor(int modifiers,
ClassInfo[] parameters,
ClassInfo[] exceptions)
Creates an empty constructor with the parameters given.
|
MutableConstructorInfo |
MutableClassInfo.createMutableConstructor(int modifiers,
String[] parameters,
String[] exceptions)
Creates an empty constructor with parameters given.
|
MutableConstructorInfo |
MutableClassInfo.getDeclaredConstructor()
Gets the default constructor (parameterless)
|
MutableConstructorInfo |
MutableClassInfo.getDeclaredConstructor(String... parameters)
Get a declared constructor
Note: the parameters will be loaded with the classloader defined in
TypeInfoFactory.
|
MutableConstructorInfo |
MutableClassInfo.getDeclaredConstructor(TypeInfo... parameters)
Get a declared constructor
|
MutableConstructorInfo[] |
MutableClassInfo.getDeclaredConstructors()
Get the declared constructors
|
Modifier and Type | Method and Description |
---|---|
void |
MutableClassInfo.addConstructor(MutableConstructorInfo mci)
Add a constructor
|
void |
MutableClassInfo.removeConstructor(MutableConstructorInfo mci)
Remove the specified constructor from this class
|
Copyright © 2013 JBoss, a division of Red Hat, Inc.. All Rights Reserved.