|
|||||
FRAMES NO FRAMES | |||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Represents a property (member variable, a getter and setter)
Field Summary | |
---|---|
boolean |
closureShare
|
FieldNode |
field
|
Statement |
getterBlock
|
int |
modifiers
|
Statement |
setterBlock
|
Constructor Summary | |
PropertyNode(String name, int modifiers, ClassNode type, ClassNode owner, Expression initialValueExpression, Statement getterBlock, Statement setterBlock)
|
|
PropertyNode(FieldNode field, int modifiers, Statement getterBlock, Statement setterBlock)
|
Method Summary | |
---|---|
FieldNode |
getField()
|
Statement |
getGetterBlock()
|
Expression |
getInitialExpression()
|
int |
getModifiers()
|
String |
getName()
|
ClassNode |
getOriginType()
|
Statement |
getSetterBlock()
|
ClassNode |
getType()
|
boolean |
hasInitialExpression()
|
boolean |
isClosureSharedVariable()
|
boolean |
isDynamicTyped()
|
boolean |
isInStaticContext()
|
boolean |
isPrivate()
|
boolean |
isStatic()
|
void |
setClosureSharedVariable(boolean inClosure)
|
void |
setType(ClassNode t)
|
Constructor Detail |
---|
public PropertyNode(String name, int modifiers, ClassNode type, ClassNode owner, Expression initialValueExpression, Statement getterBlock, Statement setterBlock)
public PropertyNode(FieldNode field, int modifiers, Statement getterBlock, Statement setterBlock)
Method Detail |
---|
public FieldNode getField()
public Statement getGetterBlock()
public Expression getInitialExpression()
public int getModifiers()
public String getName()
public ClassNode getOriginType()
public Statement getSetterBlock()
public ClassNode getType()
public boolean hasInitialExpression()
public boolean isClosureSharedVariable()
public boolean isDynamicTyped()
public boolean isInStaticContext()
public boolean isPrivate()
public boolean isStatic()
public void setClosureSharedVariable(boolean inClosure)
public void setType(ClassNode t)