class APMethodInfo extends APMetadataInfo implements MethodInfo
Modifier and Type | Field and Description |
---|---|
private ClassInfo |
ci |
private javax.lang.model.element.ExecutableElement |
el |
processEnv
Constructor and Description |
---|
APMethodInfo(javax.annotation.processing.ProcessingEnvironment processEnv,
ClassInfo ci,
javax.lang.model.element.ExecutableElement el) |
Modifier and Type | Method and Description |
---|---|
int |
compareTo(MethodInfo o) |
<T extends java.lang.annotation.Annotation> |
getAnnotation(java.lang.Class<T> annClass) |
ClassInfo |
getDeclaringClass() |
java.lang.String |
getName() |
java.util.Collection<ParameterInfo> |
getParameters() |
java.lang.String |
getQualifiedName() |
java.lang.String |
getReturnType() |
boolean |
isAbstract() |
boolean |
isPublic() |
boolean |
isStatic() |
boolean |
isStrictFP() |
boolean |
isSynchronized() |
java.lang.String |
toString() |
getElement
private final ClassInfo ci
private final javax.lang.model.element.ExecutableElement el
public APMethodInfo(javax.annotation.processing.ProcessingEnvironment processEnv, ClassInfo ci, javax.lang.model.element.ExecutableElement el)
public ClassInfo getDeclaringClass()
getDeclaringClass
in interface MethodInfo
public java.lang.String getName()
getName
in interface MethodInfo
public java.lang.String getReturnType()
getReturnType
in interface MethodInfo
public java.util.Collection<ParameterInfo> getParameters()
getParameters
in interface MethodInfo
public <T extends java.lang.annotation.Annotation> T getAnnotation(java.lang.Class<T> annClass)
getAnnotation
in interface MethodInfo
T
- annotation typeannClass
- annotation classpublic boolean isPublic()
isPublic
in interface MethodInfo
public boolean isAbstract()
isAbstract
in interface MethodInfo
public boolean isSynchronized()
isSynchronized
in interface MethodInfo
public boolean isStrictFP()
isStrictFP
in interface MethodInfo
public boolean isStatic()
isStatic
in interface MethodInfo
public java.lang.String getQualifiedName()
getQualifiedName
in interface MethodInfo
public int compareTo(MethodInfo o)
compareTo
in interface java.lang.Comparable<MethodInfo>
public java.lang.String toString()
toString
in class java.lang.Object