| Modifier and Type | Field and Description |
|---|---|
protected Map<Class,Annotation> |
annotations |
protected String |
name |
protected Map<Integer,Map<Class,Annotation>> |
paramAnnotations |
protected Class[] |
parameters |
protected Class |
returnType |
| Constructor and Description |
|---|
AbstractMethod() |
AbstractMethod(String name,
Class returnType,
Class[] parameters) |
| Modifier and Type | Method and Description |
|---|---|
void |
addAnnotation(Annotation annotation) |
void |
addAnnotationProperty(Class annotation,
String name,
Object value) |
void |
addParamAnnotation(Integer i,
Annotation annotation) |
void |
addParamAnnotationProperty(Integer i,
Annotation annotation,
String name,
Object value) |
void |
createMethod(org.objectweb.asm.ClassWriter cw) |
boolean |
equals(Object obj) |
Annotation |
getAnnotation(Class annotationClass) |
String |
getMethodSignature() |
String |
getName() |
Annotation |
getParamAnnotation(int param,
Class annotationClass) |
Class[] |
getParameters() |
Class |
getReturnType() |
int |
hashCode() |
boolean |
isAbstract() |
void |
setName(String name) |
void |
setParameters(Class[] parameters) |
void |
setReturnType(Class returnType) |
protected String name
protected Class returnType
protected Class[] parameters
protected Map<Class,Annotation> annotations
protected Map<Integer,Map<Class,Annotation>> paramAnnotations
public String getName()
public void setName(String name)
public Class getReturnType()
public void setReturnType(Class returnType)
public Class[] getParameters()
public void setParameters(Class[] parameters)
public void addAnnotation(Annotation annotation)
public void addAnnotationProperty(Class annotation, String name, Object value)
public void addParamAnnotation(Integer i, Annotation annotation)
public void addParamAnnotationProperty(Integer i, Annotation annotation, String name, Object value)
public void createMethod(org.objectweb.asm.ClassWriter cw)
public String getMethodSignature()
public Annotation getAnnotation(Class annotationClass)
public Annotation getParamAnnotation(int param, Class annotationClass)
public boolean isAbstract()
Copyright © 2016 Esfinge Framework. All rights reserved.