org.jboss.errai.ioc.rebind.ioc.codegen.meta.impl.java
Class JavaReflectionParameter

java.lang.Object
  extended by org.jboss.errai.ioc.rebind.ioc.codegen.meta.impl.java.JavaReflectionParameter
All Implemented Interfaces:
HasAnnotations, MetaParameter

public class JavaReflectionParameter
extends Object
implements MetaParameter

Author:
Mike Brock

Constructor Summary
JavaReflectionParameter(MetaClass type, Annotation[] annotations, MetaClassMember declaredBy)
           
 
Method Summary
<A extends Annotation>
A
getAnnotation(Class<A> annotation)
           
 Annotation[] getAnnotations()
           
 MetaClassMember getDeclaringMember()
           
 String getName()
           
 MetaClass getType()
           
 boolean isAnnotationPresent(Class<? extends Annotation> annotation)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

JavaReflectionParameter

public JavaReflectionParameter(MetaClass type,
                               Annotation[] annotations,
                               MetaClassMember declaredBy)
Method Detail

getName

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

getType

public MetaClass getType()
Specified by:
getType in interface MetaParameter

getAnnotations

public Annotation[] getAnnotations()
Specified by:
getAnnotations in interface HasAnnotations

getAnnotation

public final <A extends Annotation> A getAnnotation(Class<A> annotation)
Specified by:
getAnnotation in interface HasAnnotations

isAnnotationPresent

public final boolean isAnnotationPresent(Class<? extends Annotation> annotation)
Specified by:
isAnnotationPresent in interface HasAnnotations

getDeclaringMember

public MetaClassMember getDeclaringMember()
Specified by:
getDeclaringMember in interface MetaParameter


Copyright © 2011 JBoss, a division of Red Hat. All Rights Reserved.