jedi.annotation.processor.model
Class JediField

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

public class JediField
extends Object


Field Summary
protected  MemberDeclaration declaration
           
protected  String name
           
 
Constructor Summary
JediField(MemberDeclaration declaration, Class<?> annotationClass, String name)
           
 
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

JediField

public JediField(MemberDeclaration declaration,
                 Class<?> annotationClass,
                 String name)
Method Detail

getCutParameters

public List<Attribute> getCutParameters()

getName

public String getName(boolean simplified)

getUncutParameters

public List<Attribute> getUncutParameters()

writeGenericTypeParameters

public void writeGenericTypeParameters(JavaWriter writer)

writeInvocation

public void writeInvocation(JavaWriter writer,
                            String receiverName)

hashCode

public int hashCode()
Overrides:
hashCode in class Object

equals

public boolean equals(Object obj)
Overrides:
equals 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.