public class CMPropertyAccessor extends Object implements MPropertyAccessor
| Constructor and Description |
|---|
CMPropertyAccessor(FieldAccessorEx fieldAccessor) |
| Modifier and Type | Method and Description |
|---|---|
void |
get(com.sun.codemodel.JBlock block,
com.sun.codemodel.JVar variable) |
com.sun.codemodel.JType |
getType() |
boolean |
isConstant() |
com.sun.codemodel.JExpression |
isSet() |
boolean |
isVirtual() |
void |
set(com.sun.codemodel.JBlock block,
String uniqueName,
com.sun.codemodel.JExpression value) |
void |
unset(com.sun.codemodel.JBlock body) |
public CMPropertyAccessor(FieldAccessorEx fieldAccessor)
public void get(com.sun.codemodel.JBlock block,
com.sun.codemodel.JVar variable)
get in interface MPropertyAccessorpublic void set(com.sun.codemodel.JBlock block,
String uniqueName,
com.sun.codemodel.JExpression value)
set in interface MPropertyAccessorpublic void unset(com.sun.codemodel.JBlock body)
unset in interface MPropertyAccessorpublic com.sun.codemodel.JExpression isSet()
isSet in interface MPropertyAccessorpublic com.sun.codemodel.JType getType()
getType in interface MPropertyAccessorpublic boolean isConstant()
isConstant in interface MPropertyAccessorpublic boolean isVirtual()
isVirtual in interface MPropertyAccessorCopyright © 2005-2016. All Rights Reserved.