org.apache.beehive.wsm.jsr181.processor.apt
Class MirrorTypeInfo

Object
  extended by MirrorTypeInfo
All Implemented Interfaces:
JavaTypeInfo

public class MirrorTypeInfo
extends Object
implements JavaTypeInfo


Field Summary
protected  TypeDeclaration decl
           
protected  AnnotationProcessorEnvironment env
           
protected  Collection<JavaMethodInfo> methods
           
 
Constructor Summary
MirrorTypeInfo(TypeDeclaration decl, AnnotationProcessorEnvironment env)
           
 
Method Summary
<A extends Annotation>
A
getAnnotation(Class<A> annotationType)
           
 Collection<Annotation> getAnnotations()
           
 File getLocation()
           
 Collection<JavaMethodInfo> getMethods()
           
 String getName()
           
 boolean hasDefaultConstructor()
           
 boolean hasFinalize()
           
 boolean isAbstract()
           
 boolean isFinal()
           
 boolean isInterface()
           
 boolean isPublic()
           
 void logError(String msg)
           
 
Methods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

decl

protected TypeDeclaration decl

env

protected AnnotationProcessorEnvironment env

methods

protected Collection<JavaMethodInfo> methods
Constructor Detail

MirrorTypeInfo

public MirrorTypeInfo(TypeDeclaration decl,
                      AnnotationProcessorEnvironment env)
Method Detail

logError

public void logError(String msg)
Specified by:
logError in interface JavaTypeInfo

getName

public String getName()
Specified by:
getName in interface JavaTypeInfo

getLocation

public File getLocation()
Specified by:
getLocation in interface JavaTypeInfo

getAnnotation

public <A extends Annotation> A getAnnotation(Class<A> annotationType)
Specified by:
getAnnotation in interface JavaTypeInfo

getAnnotations

public Collection<Annotation> getAnnotations()
Specified by:
getAnnotations in interface JavaTypeInfo

getMethods

public Collection<JavaMethodInfo> getMethods()
Specified by:
getMethods in interface JavaTypeInfo

hasDefaultConstructor

public boolean hasDefaultConstructor()
Specified by:
hasDefaultConstructor in interface JavaTypeInfo

hasFinalize

public boolean hasFinalize()
Specified by:
hasFinalize in interface JavaTypeInfo

isAbstract

public boolean isAbstract()
Specified by:
isAbstract in interface JavaTypeInfo

isFinal

public boolean isFinal()
Specified by:
isFinal in interface JavaTypeInfo

isPublic

public boolean isPublic()
Specified by:
isPublic in interface JavaTypeInfo

isInterface

public boolean isInterface()
Specified by:
isInterface in interface JavaTypeInfo