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

Object
  extended by MirrorMethodInfo
All Implemented Interfaces:
JavaMethodInfo

public class MirrorMethodInfo
extends Object
implements JavaMethodInfo


Field Summary
protected  MethodDeclaration decl
           
protected  AnnotationProcessorEnvironment env
           
protected  List<JavaParameterInfo> parameters
           
protected  Class returnType
           
 
Constructor Summary
MirrorMethodInfo(MethodDeclaration decl, AnnotationProcessorEnvironment env)
           
 
Method Summary
<A extends Annotation>
A
getAnnotation(Class<A> annotationType)
           
 Collection<Annotation> getAnnotations()
           
 String getMethodName()
           
 List<JavaParameterInfo> getParameters()
           
 Class getReturnType()
           
 boolean isPublic()
           
 void logError(String msg)
           
 boolean throwsExceptions()
           
 
Methods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

decl

protected MethodDeclaration decl

env

protected AnnotationProcessorEnvironment env

returnType

protected Class returnType

parameters

protected List<JavaParameterInfo> parameters
Constructor Detail

MirrorMethodInfo

public MirrorMethodInfo(MethodDeclaration decl,
                        AnnotationProcessorEnvironment env)
Method Detail

logError

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

isPublic

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

throwsExceptions

public boolean throwsExceptions()
Specified by:
throwsExceptions in interface JavaMethodInfo

getMethodName

public String getMethodName()
Specified by:
getMethodName in interface JavaMethodInfo

getReturnType

public Class getReturnType()
Specified by:
getReturnType in interface JavaMethodInfo

getAnnotation

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

getAnnotations

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

getParameters

public List<JavaParameterInfo> getParameters()
Specified by:
getParameters in interface JavaMethodInfo