|
JBoss Reflection 2.2.1.SP1 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface FieldAccess
A FieldAccess.
Method Summary | |
---|---|
String |
getClassName()
Returns the name of the class in which the field is declared. |
MutableFieldInfo |
getField()
Returns the field accessed by this expression. |
String |
getFieldName()
Returns the name of the field. |
String |
getSignature()
Returns the signature of the field type. |
boolean |
isReader()
Returns true if the field is being read. |
boolean |
isStatic()
Indicates whether the field is static. |
boolean |
isWriter()
Returns true if the field is being written in. |
void |
replace(String statement)
Replaces the method call with the bytecode derived from the given source text. |
Methods inherited from interface org.jboss.reflect.plugins.javassist.expr.Expression |
---|
getFileName, getLineNumber, indexOfBytecode, mayThrow, replace, whereConstructor, whereMethod |
Method Detail |
---|
boolean isStatic()
if the field being accessed is staticboolean isReader()
true
if the field is being read.
true
if this expression reads the value of a fieldboolean isWriter()
true
if this expression writes the value of a fieldString getClassName()
String getFieldName()
MutableFieldInfo getField() throws NotFoundException
NotFoundException
String getSignature()
void replace(String statement) throws CannotCompileException
replace
in interface Expression
CannotCompileException
|
JBoss Reflection 2.2.1.SP1 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |