Class ElementUtils.DefaultPropertySpec
- java.lang.Object
-
- com.webcohesion.enunciate.javac.decorations.element.ElementUtils.DefaultPropertySpec
-
- All Implemented Interfaces:
PropertySpec
- Enclosing class:
- ElementUtils
public static class ElementUtils.DefaultPropertySpec extends Object implements PropertySpec
-
-
Field Summary
Fields Modifier and Type Field Description protected DecoratedProcessingEnvironmentenv
-
Constructor Summary
Constructors Constructor Description DefaultPropertySpec(DecoratedProcessingEnvironment env)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetPropertyName(DecoratedExecutableElement method)StringgetSimpleName(DecoratedExecutableElement method)booleanisGetter(DecoratedExecutableElement executable)booleanisPaired(DecoratedExecutableElement getter, DecoratedExecutableElement setter)booleanisSetter(DecoratedExecutableElement executable)
-
-
-
Field Detail
-
env
protected final DecoratedProcessingEnvironment env
-
-
Constructor Detail
-
DefaultPropertySpec
public DefaultPropertySpec(DecoratedProcessingEnvironment env)
-
-
Method Detail
-
isGetter
public boolean isGetter(DecoratedExecutableElement executable)
- Specified by:
isGetterin interfacePropertySpec
-
isSetter
public boolean isSetter(DecoratedExecutableElement executable)
- Specified by:
isSetterin interfacePropertySpec
-
getPropertyName
public String getPropertyName(DecoratedExecutableElement method)
- Specified by:
getPropertyNamein interfacePropertySpec
-
getSimpleName
public String getSimpleName(DecoratedExecutableElement method)
- Specified by:
getSimpleNamein interfacePropertySpec
-
isPaired
public boolean isPaired(DecoratedExecutableElement getter, DecoratedExecutableElement setter)
- Specified by:
isPairedin interfacePropertySpec
-
-