org.apache.beehive.wsm.jsr181.processor.apt
Class MirrorMethodInfo
Object
MirrorMethodInfo
- All Implemented Interfaces:
- JavaMethodInfo
public class MirrorMethodInfo
- extends Object
- implements JavaMethodInfo
Constructor Summary |
MirrorMethodInfo(MethodDeclaration decl,
AnnotationProcessorEnvironment env)
|
Methods inherited from class Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
decl
protected MethodDeclaration decl
env
protected AnnotationProcessorEnvironment env
returnType
protected Class returnType
parameters
protected List<JavaParameterInfo> parameters
MirrorMethodInfo
public MirrorMethodInfo(MethodDeclaration decl,
AnnotationProcessorEnvironment env)
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