Errai 3.0.1-SNAPSHOT

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

java.lang.Object
  extended by org.jboss.errai.codegen.meta.impl.AbstractMetaWildcardType
      extended by org.jboss.errai.codegen.meta.impl.java.JavaReflectionWildcardType
All Implemented Interfaces:
MetaType, MetaWildcardType

public class JavaReflectionWildcardType
extends AbstractMetaWildcardType

Author:
Mike Brock

Constructor Summary
JavaReflectionWildcardType(WildcardType wildcardType)
           
 
Method Summary
 MetaType[] getLowerBounds()
          Returns the lower bounds of this wildcard type.
 String getName()
          Returns the Java source code representation of this wildcard, for example "? extends java.util.Collection" or "? super org.xyz.Foo".
 MetaType[] getUpperBounds()
          Returns the upper bounds of this wildcard type.
 
Methods inherited from class org.jboss.errai.codegen.meta.impl.AbstractMetaWildcardType
equals, hashCode, toString
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

JavaReflectionWildcardType

public JavaReflectionWildcardType(WildcardType wildcardType)
Method Detail

getLowerBounds

public MetaType[] getLowerBounds()
Description copied from interface: MetaWildcardType
Returns the lower bounds of this wildcard type. Examples:

Returns:
The lower bounds of this wildcard type. The return value is never null--if the wildcard has no lower bounds, an empty array is returned.

getUpperBounds

public MetaType[] getUpperBounds()
Description copied from interface: MetaWildcardType
Returns the upper bounds of this wildcard type. Examples:

Returns:
The upper bounds of this wildcard type. The return value is never null--if the wildcard has no upper bounds, an empty array is returned.

getName

public String getName()
Description copied from interface: MetaWildcardType
Returns the Java source code representation of this wildcard, for example "? extends java.util.Collection" or "? super org.xyz.Foo".

Returns:
The name of this type as it was written in the original source code.

Errai 3.0.1-SNAPSHOT

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