Class GenericType
java.lang.Object
org.jd.core.v1.model.javasyntax.type.GenericType
- All Implemented Interfaces:
Iterable<Type>
,BaseType
,BaseTypeArgument
,Type
,TypeArgument
,TypeArgumentVisitable
,TypeVisitable
,Base<Type>
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
accept
(TypeArgumentVisitor visitor) void
accept
(TypeVisitor visitor) createType
(int dimension) boolean
int
getName()
int
hashCode()
boolean
boolean
isTypeArgumentAssignableFrom
(Map<String, BaseType> typeBounds, BaseTypeArgument typeArgument) toString()
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
Methods inherited from interface org.jd.core.v1.util.Base
getFirst, getLast, getList, isList, iterator, size
Methods inherited from interface org.jd.core.v1.model.javasyntax.type.BaseTypeArgument
getTypeArgumentFirst, getTypeArgumentList, isTypeArgumentList, typeArgumentSize
Methods inherited from interface java.lang.Iterable
forEach, spliterator
Methods inherited from interface org.jd.core.v1.model.javasyntax.type.Type
isObject, isPrimitive
-
Field Details
-
name
-
dimension
protected int dimension
-
-
Constructor Details
-
GenericType
-
GenericType
-
-
Method Details
-
getName
-
getDescriptor
- Specified by:
getDescriptor
in interfaceType
-
getDimension
public int getDimension()- Specified by:
getDimension
in interfaceType
-
createType
- Specified by:
createType
in interfaceType
-
equals
-
hashCode
public int hashCode() -
accept
- Specified by:
accept
in interfaceTypeVisitable
-
accept
- Specified by:
accept
in interfaceTypeArgumentVisitable
-
isTypeArgumentAssignableFrom
public boolean isTypeArgumentAssignableFrom(Map<String, BaseType> typeBounds, BaseTypeArgument typeArgument) - Specified by:
isTypeArgumentAssignableFrom
in interfaceBaseTypeArgument
-
isGeneric
public boolean isGeneric() -
toString
-