org.codehaus.plexus.metadata.ann
Class AnnClass

java.lang.Object
  extended by org.codehaus.plexus.metadata.ann.AnnClass

public class AnnClass
extends Object

Author:
Eugene Kuleshov

Constructor Summary
AnnClass(ClassLoader cl)
           
 
Method Summary
 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)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

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()

getAnns

public Map<String,Ann> getAnns()

getFields

public Map<String,AnnField> getFields()

getMethods

public Map<String,AnnMethod> getMethods()

getFieldNames

public Set<String> getFieldNames()

getMethodKeys

public Set<String> getMethodKeys()

getAnnotation

public <T> T getAnnotation(Class<T> c)

getFieldAnnotation

public <T> T getFieldAnnotation(String fieldName,
                                Class<T> c)

getMethodAnnotation

public <T> T getMethodAnnotation(String methodKey,
                                 Class<T> c)


Copyright © 2001-2011 Codehaus. All Rights Reserved.