net.sf.retrotranslator.runtime.impl
Class WildcardTypeImpl

java.lang.Object
  extended by net.sf.retrotranslator.runtime.impl.WildcardTypeImpl
All Implemented Interfaces:
java.lang.reflect.Type, java.lang.reflect.WildcardType

public class WildcardTypeImpl
extends java.lang.Object
implements java.lang.reflect.WildcardType

Author:
Taras Puchko

Field Summary
private  LazyValue<TypeDescriptor,java.lang.reflect.Type> bound
           
private static java.lang.reflect.Type[] DEFAULT_LOWER_BOUND
           
private static java.lang.reflect.Type[] DEFAULT_UPPER_BOUND
           
private  boolean isUpperBounds
           
 
Constructor Summary
WildcardTypeImpl(boolean isUpperBounds, LazyValue<TypeDescriptor,java.lang.reflect.Type> bound)
           
 
Method Summary
 boolean equals(java.lang.Object obj)
           
 java.lang.reflect.Type[] getLowerBounds()
           
 java.lang.reflect.Type[] getUpperBounds()
           
 int hashCode()
           
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Field Detail

DEFAULT_UPPER_BOUND

private static final java.lang.reflect.Type[] DEFAULT_UPPER_BOUND

DEFAULT_LOWER_BOUND

private static final java.lang.reflect.Type[] DEFAULT_LOWER_BOUND

isUpperBounds

private boolean isUpperBounds

bound

private LazyValue<TypeDescriptor,java.lang.reflect.Type> bound
Constructor Detail

WildcardTypeImpl

public WildcardTypeImpl(boolean isUpperBounds,
                        LazyValue<TypeDescriptor,java.lang.reflect.Type> bound)
Method Detail

getUpperBounds

public java.lang.reflect.Type[] getUpperBounds()
Specified by:
getUpperBounds in interface java.lang.reflect.WildcardType

getLowerBounds

public java.lang.reflect.Type[] getLowerBounds()
Specified by:
getLowerBounds in interface java.lang.reflect.WildcardType

hashCode

public int hashCode()
Overrides:
hashCode in class java.lang.Object

equals

public boolean equals(java.lang.Object obj)
Overrides:
equals in class java.lang.Object

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object