protected static enum TypeDescription.AbstractBase.RawTypeWrapper extends Enum<TypeDescription.AbstractBase.RawTypeWrapper> implements GenericTypeDescription.Visitor<GenericTypeDescription>
TypeDescription instances as raw generic types.| Modifier and Type | Class and Description |
|---|---|
protected static class |
TypeDescription.AbstractBase.RawTypeWrapper.RawTypeVariable
An representation of a type variable with raw type bounds.
|
GenericTypeDescription.Visitor.ForSignatureVisitor, GenericTypeDescription.Visitor.NoOp, GenericTypeDescription.Visitor.Substitutor, GenericTypeDescription.Visitor.TypeErasing, GenericTypeDescription.Visitor.TypeVariableErasing| Enum Constant and Description |
|---|
INSTANCE
The singleton instance.
|
public static final TypeDescription.AbstractBase.RawTypeWrapper INSTANCE
public static TypeDescription.AbstractBase.RawTypeWrapper[] values()
for (TypeDescription.AbstractBase.RawTypeWrapper c : TypeDescription.AbstractBase.RawTypeWrapper.values()) System.out.println(c);
public static TypeDescription.AbstractBase.RawTypeWrapper valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant with the specified nameNullPointerException - if the argument is nullpublic GenericTypeDescription onGenericArray(GenericTypeDescription genericArray)
GenericTypeDescription.VisitorGenericTypeDescription.Sort.GENERIC_ARRAY).onGenericArray in interface GenericTypeDescription.Visitor<GenericTypeDescription>genericArray - The generic array type.public GenericTypeDescription onWildcard(GenericTypeDescription wildcard)
GenericTypeDescription.VisitorGenericTypeDescription.Sort.WILDCARD).onWildcard in interface GenericTypeDescription.Visitor<GenericTypeDescription>wildcard - The wildcard.public GenericTypeDescription onParameterizedType(GenericTypeDescription parameterizedType)
GenericTypeDescription.VisitorGenericTypeDescription.Sort.PARAMETERIZED).onParameterizedType in interface GenericTypeDescription.Visitor<GenericTypeDescription>parameterizedType - The generic array type.public GenericTypeDescription onTypeVariable(GenericTypeDescription typeVariable)
GenericTypeDescription.VisitorGenericTypeDescription.Sort.VARIABLE,
GenericTypeDescription.Sort.VARIABLE_DETACHED,
GenericTypeDescription.Sort.VARIABLE_SYMBOLIC).onTypeVariable in interface GenericTypeDescription.Visitor<GenericTypeDescription>typeVariable - The generic array type.public GenericTypeDescription onNonGenericType(GenericTypeDescription typeDescription)
GenericTypeDescription.VisitorGenericTypeDescription.Sort.NON_GENERIC).onNonGenericType in interface GenericTypeDescription.Visitor<GenericTypeDescription>typeDescription - The non-generic type.public String toString()
toString in class Enum<TypeDescription.AbstractBase.RawTypeWrapper>Copyright © 2014–2015. All rights reserved.