jedi.annotation.processor.model
Class JediMethod

java.lang.Object
  extended by jedi.annotation.processor.model.JediMethod
All Implemented Interfaces:
Annotateable

public class JediMethod
extends Object


Field Summary
protected  MemberDeclaration declaration
           
protected  String name
           
 
Constructor Summary
JediMethod(MemberDeclaration declaration, Class<?> annotationClass)
           
JediMethod(MemberDeclaration declaration, Class<?> annotationClass, String factoryMethodPrefix)
           
JediMethod(MemberDeclaration declaration, Class<?> annotationClass, String cutName, Set<String> cutParameterNames)
           
 
Method Summary
 boolean equals(Object obj)
           
 Class<?> getAnnotationClass()
           
 String getBoxedDeclaredType()
           
 List<Attribute> getCutParameters()
           
 String getDeclaredType()
           
 String getDeclaringTypeWithUnboundedGenerics()
           
 String getName(boolean simplified)
           
 String getOriginalName()
           
 String getPackage()
           
 String getQualifiedNameOfDeclaringType()
           
 String getSimpleNameOfDeclaringType()
           
 List<Attribute> getUncutParameters()
           
 int hashCode()
           
 boolean isBoolean()
           
 boolean isVoid()
           
 void showProcessingError(Environment environment, String message)
           
 void writeGenericTypeParameters(JavaWriter writer)
           
 void writeInvocation(JavaWriter writer, String receiverName)
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

name

protected String name

declaration

protected final MemberDeclaration declaration
Constructor Detail

JediMethod

public JediMethod(MemberDeclaration declaration,
                  Class<?> annotationClass)

JediMethod

public JediMethod(MemberDeclaration declaration,
                  Class<?> annotationClass,
                  String factoryMethodPrefix)

JediMethod

public JediMethod(MemberDeclaration declaration,
                  Class<?> annotationClass,
                  String cutName,
                  Set<String> cutParameterNames)
Method Detail

getUncutParameters

public List<Attribute> getUncutParameters()

getCutParameters

public List<Attribute> getCutParameters()

equals

public boolean equals(Object obj)

writeInvocation

public void writeInvocation(JavaWriter writer,
                            String receiverName)

getName

public String getName(boolean simplified)

writeGenericTypeParameters

public void writeGenericTypeParameters(JavaWriter writer)

hashCode

public int hashCode()
Overrides:
hashCode in class Object

getOriginalName

public String getOriginalName()
Specified by:
getOriginalName in interface Annotateable

isVoid

public boolean isVoid()
Specified by:
isVoid in interface Annotateable

isBoolean

public boolean isBoolean()
Specified by:
isBoolean in interface Annotateable

getDeclaringTypeWithUnboundedGenerics

public String getDeclaringTypeWithUnboundedGenerics()
Specified by:
getDeclaringTypeWithUnboundedGenerics in interface Annotateable

getQualifiedNameOfDeclaringType

public String getQualifiedNameOfDeclaringType()
Specified by:
getQualifiedNameOfDeclaringType in interface Annotateable

getSimpleNameOfDeclaringType

public String getSimpleNameOfDeclaringType()
Specified by:
getSimpleNameOfDeclaringType in interface Annotateable

getPackage

public String getPackage()
Specified by:
getPackage in interface Annotateable

getDeclaredType

public String getDeclaredType()
Specified by:
getDeclaredType in interface Annotateable

getBoxedDeclaredType

public String getBoxedDeclaredType()
Specified by:
getBoxedDeclaredType in interface Annotateable

showProcessingError

public void showProcessingError(Environment environment,
                                String message)
Specified by:
showProcessingError in interface Annotateable

getAnnotationClass

public Class<?> getAnnotationClass()
Specified by:
getAnnotationClass in interface Annotateable


Copyright © 2011. All Rights Reserved.