Interface Accessor
- 
- All Known Subinterfaces:
- ReadAccessor
 - All Known Implementing Classes:
- DelegateAccessor,- ElementAccessor,- ExecutableElementAccessor,- MapValueAccessor,- ParameterElementAccessor,- ReadDelegateAccessor,- RecordElementAccessor
 
 public interface AccessorThis represents an Accessor that can be used for writing/reading a property to/from a bean.- Author:
- Filip Hrisafov
 
- 
- 
Method SummaryAll Methods Instance Methods Abstract Methods Modifier and Type Method Description TypeMirrorgetAccessedType()This returns the type that this accessor gives as a return.AccessorTypegetAccessorType()ElementgetElement()Set<Modifier>getModifiers()StringgetSimpleName()
 
- 
- 
- 
Method Detail- 
getAccessedTypeTypeMirror getAccessedType() This returns the type that this accessor gives as a return. e.g. TheExecutableElement.getReturnType()if this is a method accessor, orElement.asType()for field accessors.- Returns:
- the type that the accessor gives as a return
 
 - 
getSimpleNameString getSimpleName() - Returns:
- the simple name of the accessor
 
 - 
getElementElement getElement() - Returns:
- the underlying Element,VariableElementorExecutableElement
 
 - 
getAccessorTypeAccessorType getAccessorType() - Returns:
- type of the accessor
 
 
- 
 
-