| Modifier and Type | Field and Description |
|---|---|
| private boolean | |
| private TypeVariableDeclaringElement | |
| private int | |
| private UnresolvedType | |
| public boolean | |
| public static final int | |
| private String | |
| public static final TypeVariable[] | |
| private int | |
| private UnresolvedType | |
| private UnresolvedType[] | |
| public static final int | |
| public static final int |
| Access | Constructor and Description |
|---|---|
| public | |
| public | |
| public |
| Modifier and Type | Method and Description |
|---|---|
| public boolean | canBeBoundTo(ResolvedType candidate)
answer true if the given type satisfies all of the bound constraints of this type variable. |
| public TypeVariableDeclaringElement | |
| public int | |
| public String | |
| public String | |
| public UnresolvedType | Returns: the first bound, either the superclass or if non is specified the first interface or if non are specified then OBJECT
|
| public String | |
| public String | |
| public int | |
| public String | getSignature()
Return complete signature, e.g. "T extends Number" would return "T:Ljava/lang/Number;" note: MAY INCLUDE P types if bounds are parameterized types |
| public String | Returns: signature for inclusion in an attribute, there must be no 'P' in it signatures
|
| public UnresolvedType | |
| public UnresolvedType[] | |
| public UnresolvedType | |
| private boolean | |
| public static TypeVariable | |
| public TypeVariable | |
| public void | |
| public void | |
| public void | |
| public void | |
| public void | |
| public void | |
| public String | |
| public String | |
| public void |
| beingResolved | back to summary |
|---|---|
| private boolean beingResolved | |
| declaringElement | back to summary |
|---|---|
| private TypeVariableDeclaringElement declaringElement | |
| declaringElementKind | back to summary |
|---|---|
| private int declaringElementKind | |
| firstbound | back to summary |
|---|---|
| private UnresolvedType firstbound | |
| isResolved | back to summary |
|---|---|
| public boolean isResolved | |
| METHOD | back to summary |
|---|---|
| public static final int METHOD | |
| name | back to summary |
|---|---|
| private String name | |
| NONE | back to summary |
|---|---|
| public static final TypeVariable[] NONE | |
| rank | back to summary |
|---|---|
| private int rank | |
| superclass | back to summary |
|---|---|
| private UnresolvedType superclass | |
| superInterfaces | back to summary |
|---|---|
| private UnresolvedType[] superInterfaces | |
| TYPE | back to summary |
|---|---|
| public static final int TYPE | |
| UNKNOWN | back to summary |
|---|---|
| public static final int UNKNOWN | |
| TypeVariable | back to summary |
|---|---|
| public TypeVariable(String name) Constructor for an unbound type variable, eg. 'T' | |
| TypeVariable | back to summary |
|---|---|
| public TypeVariable(String name, UnresolvedType anUpperBound) | |
| TypeVariable | back to summary |
|---|---|
| public TypeVariable(String name, UnresolvedType anUpperBound, UnresolvedType[] superInterfaces) | |
| canBeBoundTo | back to summary |
|---|---|
| public boolean canBeBoundTo(ResolvedType candidate) answer true if the given type satisfies all of the bound constraints of this type variable. If type variable has not been resolved then throws IllegalStateException | |
| getDeclaringElement | back to summary |
|---|---|
| public TypeVariableDeclaringElement getDeclaringElement() | |
| getDeclaringElementKind | back to summary |
|---|---|
| public int getDeclaringElementKind() | |
| getDisplayName | back to summary |
|---|---|
| public String getDisplayName() | |
| getErasureSignature | back to summary |
|---|---|
| public String getErasureSignature() | |
| getFirstBound | back to summary |
|---|---|
public UnresolvedType getFirstBound()
| |
| getGenericSignature | back to summary |
|---|---|
| public String getGenericSignature() | |
| getName | back to summary |
|---|---|
| public String getName() | |
| getRank | back to summary |
|---|---|
| public int getRank() | |
| getSignature | back to summary |
|---|---|
| public String getSignature() Return complete signature, e.g. "T extends Number" would return "T:Ljava/lang/Number;" note: MAY INCLUDE P types if bounds are parameterized types | |
| getSignatureForAttribute | back to summary |
|---|---|
public String getSignatureForAttribute()
| |
| getSuperclass | back to summary |
|---|---|
| public UnresolvedType getSuperclass() | |
| getSuperInterfaces | back to summary |
|---|---|
| public UnresolvedType[] getSuperInterfaces() | |
| getUpperBound | back to summary |
|---|---|
| public UnresolvedType getUpperBound() | |
| isASubtypeOf | back to summary |
|---|---|
| private boolean isASubtypeOf(UnresolvedType candidateSuperType, UnresolvedType candidateSubType) | |
| read | back to summary |
|---|---|
| public static TypeVariable read(VersionedDataInputStream s) throws IOException | |
| resolve | back to summary |
|---|---|
| public TypeVariable resolve(World world) resolve all the bounds of this type variable | |
| setAdditionalInterfaceBounds | back to summary |
|---|---|
| public void setAdditionalInterfaceBounds(UnresolvedType[] superInterfaces) | |
| setDeclaringElement | back to summary |
|---|---|
| public void setDeclaringElement(TypeVariableDeclaringElement element) | |
| setDeclaringElementKind | back to summary |
|---|---|
| public void setDeclaringElementKind(int kind) | |
| setRank | back to summary |
|---|---|
| public void setRank(int rank) | |
| setSuperclass | back to summary |
|---|---|
| public void setSuperclass(UnresolvedType superclass) | |
| setUpperBound | back to summary |
|---|---|
| public void setUpperBound(UnresolvedType superclass) | |
| toDebugString | back to summary |
|---|---|
| public String toDebugString() | |
| toString | back to summary |
|---|---|
| public String toString() Overrides java. Doc from java. Returns a string representation of the object. | |
| write | back to summary |
|---|---|
| public void write(CompressingDataOutputStream s) throws IOException | |