com.sun.tools.xjc.generator.bean.field
Class AbstractField.Accessor
java.lang.Object
com.sun.tools.xjc.generator.bean.field.AbstractField.Accessor
- All Implemented Interfaces:
- FieldAccessor
- Direct Known Subclasses:
- AbstractFieldWithVar.Accessor, AbstractListField.Accessor
- Enclosing class:
- AbstractField
protected abstract class AbstractField.Accessor
- extends Object
- implements FieldAccessor
Useful base class for implementing FieldAccessor
.
Field Summary |
protected com.sun.codemodel.JExpression |
$target
Evaluates to the target object this accessor should access. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
$target
protected final com.sun.codemodel.JExpression $target
- Evaluates to the target object this accessor should access.
AbstractField.Accessor
protected AbstractField.Accessor(com.sun.codemodel.JExpression $target)
owner
public final FieldOutline owner()
- Description copied from interface:
FieldAccessor
- Gets the
FieldOutline
from which
this object is created.
- Specified by:
owner
in interface FieldAccessor
getPropertyInfo
public final CPropertyInfo getPropertyInfo()
- Description copied from interface:
FieldAccessor
- Short for owner().getPropertyInfo()
- Specified by:
getPropertyInfo
in interface FieldAccessor