net.sf.jelly.apt.decorations.declaration
Class DecoratedMethodDeclaration
java.lang.Object
net.sf.jelly.apt.decorations.declaration.DecoratedDeclaration
net.sf.jelly.apt.decorations.declaration.DecoratedMemberDeclaration
net.sf.jelly.apt.decorations.declaration.DecoratedExecutableDeclaration
net.sf.jelly.apt.decorations.declaration.DecoratedMethodDeclaration
- All Implemented Interfaces:
- com.sun.mirror.declaration.Declaration, com.sun.mirror.declaration.ExecutableDeclaration, com.sun.mirror.declaration.MemberDeclaration, com.sun.mirror.declaration.MethodDeclaration
- Direct Known Subclasses:
- DecoratedAnnotationTypeElementDeclaration, PropertyDeclaration
public class DecoratedMethodDeclaration
- extends DecoratedExecutableDeclaration
- implements com.sun.mirror.declaration.MethodDeclaration
A decorated method declaration provides:
- boolean properties for whether the method is a "getter" or "setter".
- string property for the property name of this method if it is a "getter" or "setter".
- Author:
- Ryan Heaton
Methods inherited from class net.sf.jelly.apt.decorations.declaration.DecoratedDeclaration |
equals, getAnnotation, getAnnotationMirrors, getAnnotations, getDelegate, getDocComment, getJavaDoc, getModifiers, getPosition, getSimpleName, isAbstract, isFinal, isNative, isPrivate, isProtected, isPublic, isStatic, isStrictfp, isSynchronized, isTransient, isVolatile, toString |
Methods inherited from class java.lang.Object |
clone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Methods inherited from interface com.sun.mirror.declaration.ExecutableDeclaration |
getFormalTypeParameters, getParameters, getThrownTypes, isVarArgs |
Methods inherited from interface com.sun.mirror.declaration.MemberDeclaration |
getDeclaringType |
Methods inherited from interface com.sun.mirror.declaration.Declaration |
equals, getAnnotation, getAnnotationMirrors, getDocComment, getModifiers, getPosition, getSimpleName |
DecoratedMethodDeclaration
public DecoratedMethodDeclaration(com.sun.mirror.declaration.MethodDeclaration delegate)
getReturnType
public com.sun.mirror.type.TypeMirror getReturnType()
- Specified by:
getReturnType
in interface com.sun.mirror.declaration.MethodDeclaration
isGetter
public boolean isGetter()
isSetter
public boolean isSetter()
getPropertyName
public java.lang.String getPropertyName()
accept
public void accept(com.sun.mirror.util.DeclarationVisitor v)
- Specified by:
accept
in interface com.sun.mirror.declaration.Declaration
- Overrides:
accept
in class DecoratedExecutableDeclaration