| Modifier and Type | Field and Description |
|---|---|
| private final int | |
| private final String[] | |
| private final ResolvedType[] | |
| private final String[] | _unboundVariables
Names of potentially unresolved type variables. |
| private static final TypeBindings | |
| private static final String[] | |
| private static final ResolvedType[] | |
| private static final long |
| Access | Constructor and Description |
|---|---|
| private |
| Modifier and Type | Method and Description |
|---|---|
| public static TypeBindings | |
| public static TypeBindings | |
| public static TypeBindings | |
| public boolean | equals(Object
the reference object with which to compare. o)Overrides java. Indicates whether some other object is "equal to" this one. |
| public ResolvedType | |
| public String | |
| public ResolvedType | |
| public List | |
| public int | |
| public boolean | |
| public boolean | |
| public int | |
| public String | |
| protected ResolvedType[] | |
| public TypeBindings | withUnboundVariable(String name)
Method for creating an instance that has same bindings as this object, plus an indicator for additional type variable that may be unbound within this context; this is needed to resolve recursive self-references. |
| _hashCode | back to summary |
|---|---|
| private final int _hashCode | |
| _names | back to summary |
|---|---|
| private final String[] _names | |
| _types | back to summary |
|---|---|
| private final ResolvedType[] _types | |
| _unboundVariables | back to summary |
|---|---|
| private final String[] _unboundVariables Names of potentially unresolved type variables. Needs to be separate from actual names since these are only used during resolution of possible self-references.
| |
| EMPTY | back to summary |
|---|---|
| private static final TypeBindings EMPTY | |
| NO_STRINGS | back to summary |
|---|---|
| private static final String[] NO_STRINGS | |
| NO_TYPES | back to summary |
|---|---|
| private static final ResolvedType[] NO_TYPES | |
| serialVersionUID | back to summary |
|---|---|
| private static final long serialVersionUID | |
| TypeBindings | back to summary |
|---|---|
| private TypeBindings(String[] names, ResolvedType[] types, String[] uvars) | |
| create | back to summary |
|---|---|
| public static TypeBindings create(Class<?> erasedType, List<ResolvedType> typeList) | |
| create | back to summary |
|---|---|
| public static TypeBindings create(Class<?> erasedType, ResolvedType[] types) | |
| emptyBindings | back to summary |
|---|---|
| public static TypeBindings emptyBindings() | |
| equals | back to summary |
|---|---|
| public boolean equals(Object o) Overrides java. Doc from java. Indicates whether some other object is "equal to" this one.
The
An equivalence relation partitions the elements it operates on into equivalence classes; all the members of an equivalence class are equal to each other. Members of an equivalence class are substitutable for each other, at least for some purposes. | |
| findBoundType | back to summary |
|---|---|
| public ResolvedType findBoundType(String name) | |
| getBoundName | back to summary |
|---|---|
| public String getBoundName(int index) | |
| getBoundType | back to summary |
|---|---|
| public ResolvedType getBoundType(int index) | |
| getTypeParameters | back to summary |
|---|---|
| public List | |
| hashCode | back to summary |
|---|---|
| public int hashCode() Overrides java. Doc from java. Returns a hash code value for this object. This method is
supported for the benefit of hash tables such as those provided by
The general contract of
| |
| hasUnbound | back to summary |
|---|---|
public boolean hasUnbound(String name)
| |
| isEmpty | back to summary |
|---|---|
| public boolean isEmpty() | |
| size | back to summary |
|---|---|
| public int size() | |
| toString | back to summary |
|---|---|
| public String toString() Overrides java. Doc from java. Returns a string representation of the object.
Satisfying this method's contract implies a non- | |
| typeParameterArray | back to summary |
|---|---|
| protected ResolvedType[] typeParameterArray() | |
| withUnboundVariable | back to summary |
|---|---|
| public TypeBindings withUnboundVariable(String name) Method for creating an instance that has same bindings as this object, plus an indicator for additional type variable that may be unbound within this context; this is needed to resolve recursive self-references. | |