Errai 3.0.1-SNAPSHOT

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

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

public class JavaReflectionParameter
extends 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)
           
 String toString()
           
 
Methods inherited from class org.jboss.errai.codegen.meta.MetaParameter
equals, hashCode, hashString
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

JavaReflectionParameter

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

getName

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

getType

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

getAnnotations

public Annotation[] getAnnotations()

getAnnotation

public final <A extends Annotation> A getAnnotation(Class<A> annotation)

isAnnotationPresent

public final boolean isAnnotationPresent(Class<? extends Annotation> annotation)

getDeclaringMember

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

toString

public String toString()
Overrides:
toString in class Object

Errai 3.0.1-SNAPSHOT

Copyright © 2013-2014 JBoss, a division of Red Hat. All Rights Reserved.