public interface FieldAccess extends Expression
Modifier and Type | Method and Description |
---|---|
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.
|
getFileName, getLineNumber, indexOfBytecode, mayThrow, replace, whereConstructor, whereMethod
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
Copyright © 2013 JBoss, a division of Red Hat, Inc.. All Rights Reserved.