net.sf.jelly.apt.decorations.declaration
Class DecoratedMethodDeclaration

java.lang.Object
  extended by net.sf.jelly.apt.decorations.declaration.DecoratedDeclaration
      extended by net.sf.jelly.apt.decorations.declaration.DecoratedMemberDeclaration
          extended by net.sf.jelly.apt.decorations.declaration.DecoratedExecutableDeclaration
              extended by 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:

Author:
Ryan Heaton

Field Summary
 
Fields inherited from class net.sf.jelly.apt.decorations.declaration.DecoratedDeclaration
delegate, javaDoc
 
Constructor Summary
DecoratedMethodDeclaration(com.sun.mirror.declaration.MethodDeclaration delegate)
           
 
Method Summary
 void accept(com.sun.mirror.util.DeclarationVisitor v)
           
 java.lang.String getPropertyName()
           
 com.sun.mirror.type.TypeMirror getReturnType()
           
 boolean isGetter()
           
 boolean isSetter()
           
 
Methods inherited from class net.sf.jelly.apt.decorations.declaration.DecoratedExecutableDeclaration
getFormalTypeParameters, getParameters, getThrownTypes, isVarArgs
 
Methods inherited from class net.sf.jelly.apt.decorations.declaration.DecoratedMemberDeclaration
getDeclaringType
 
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
 

Constructor Detail

DecoratedMethodDeclaration

public DecoratedMethodDeclaration(com.sun.mirror.declaration.MethodDeclaration delegate)
Method Detail

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