jedi.annotation.processor.model
Class JediField
java.lang.Object
jedi.annotation.processor.model.JediField
- All Implemented Interfaces:
- Annotateable
public class JediField
- extends Object
name
protected String name
declaration
protected final MemberDeclaration declaration
JediField
public JediField(MemberDeclaration declaration,
Class<?> annotationClass,
String name)
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.