Package org.codehaus.plexus.metadata.ann
Class AnnClass
- java.lang.Object
-
- org.codehaus.plexus.metadata.ann.AnnClass
-
public class AnnClass extends Object
- Author:
- Eugene Kuleshov
-
-
Constructor Summary
Constructors Constructor Description AnnClass(ClassLoader cl)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
addAnn(Ann ann)
void
addField(AnnField field)
void
addMethod(AnnMethod method)
int
getAccess()
<T> T
getAnnotation(Class<T> c)
Map<String,Ann>
getAnns()
ClassLoader
getClassLoader()
<T> T
getFieldAnnotation(String fieldName, Class<T> c)
Set<String>
getFieldNames()
Map<String,AnnField>
getFields()
String[]
getInterfaces()
<T> T
getMethodAnnotation(String methodKey, Class<T> c)
Set<String>
getMethodKeys()
Map<String,AnnMethod>
getMethods()
String
getName()
String
getSuperName()
void
setAccess(int access)
void
setInterfaces(String[] interfaces)
void
setName(String name)
void
setSuperName(String superName)
-
-
-
Constructor Detail
-
AnnClass
public AnnClass(ClassLoader cl)
-
-
Method Detail
-
setName
public void setName(String name)
-
setAccess
public void setAccess(int access)
-
setSuperName
public void setSuperName(String superName)
-
setInterfaces
public void setInterfaces(String[] interfaces)
-
addAnn
public void addAnn(Ann ann)
-
addField
public void addField(AnnField field)
-
addMethod
public void addMethod(AnnMethod method)
-
getClassLoader
public ClassLoader getClassLoader()
-
getAccess
public int getAccess()
-
getName
public String getName()
-
getSuperName
public String getSuperName()
-
getInterfaces
public String[] getInterfaces()
-
getAnnotation
public <T> T getAnnotation(Class<T> c)
-
-