|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.aspectj.org.eclipse.jdt.internal.compiler.lookup.Binding
org.aspectj.org.eclipse.jdt.internal.compiler.lookup.TypeBinding
org.aspectj.org.eclipse.jdt.internal.compiler.lookup.ReferenceBinding
org.aspectj.org.eclipse.jdt.internal.compiler.lookup.TypeVariableBinding
org.aspectj.org.eclipse.jdt.internal.compiler.lookup.CaptureBinding
public class CaptureBinding
| Field Summary | |
|---|---|
int |
captureID
|
TypeBinding |
lowerBound
|
int |
position
|
ReferenceBinding |
sourceType
|
WildcardBinding |
wildcard
|
| Fields inherited from class org.aspectj.org.eclipse.jdt.internal.compiler.lookup.TypeVariableBinding |
|---|
declaringElement, firstBound, genericTypeSignature, rank, superclass, superInterfaces |
| Fields inherited from class org.aspectj.org.eclipse.jdt.internal.compiler.lookup.ReferenceBinding |
|---|
compoundName, fPackage, LUB_GENERIC, modifiers, samProblemBinding, singleAbstractMethod, sourceName |
| Fields inherited from class org.aspectj.org.eclipse.jdt.internal.compiler.lookup.TypeBinding |
|---|
BOOLEAN, BYTE, CHAR, DOUBLE, FLOAT, id, INT, LONG, NULL, SHORT, tagBits, TYPE_USE_BINDING, typeAnnotations, VOID |
| Constructor Summary | |
|---|---|
|
CaptureBinding(CaptureBinding prototype)
|
protected |
CaptureBinding(ReferenceBinding sourceType,
char[] sourceName,
int position,
int captureID,
LookupEnvironment environment)
|
|
CaptureBinding(WildcardBinding wildcard,
ReferenceBinding sourceType,
int position,
int captureID)
|
| Method Summary | |
|---|---|
TypeBinding |
clone(TypeBinding enclosingType)
Virtual copy constructor: a copy is made of the receiver's entire instance state and then suitably parameterized by the arguments to the clone operation as seen fit by each type. |
char[] |
computeUniqueKey(boolean isLeaf)
p.X |
java.lang.String |
debugName()
|
char[] |
genericTypeSignature()
T::Ljava/util/Map;:Ljava/io/Serializable; T:LY |
void |
initializeBounds(Scope scope,
ParameterizedTypeBinding capturedParameterizedType)
Initialize capture bounds using substituted supertypes e.g. |
boolean |
isCapture()
Returns true if the type is the capture of some wildcard |
boolean |
isEquivalentTo(TypeBinding otherType)
Returns true if a type is identical to another one, or for generic types, true if compared to its raw type. |
char[] |
nullAnnotatedReadableName(CompilerOptions options,
boolean shortNames)
Answer a readable name (for error reporting) that includes nullness type annotations. |
char[] |
readableName()
Answer the receiver's signature. |
char[] |
shortReadableName()
|
java.lang.String |
toString()
|
TypeBinding |
uncapture(Scope scope)
Perform capture "deconversion" on a given type |
| Methods inherited from class org.aspectj.org.eclipse.jdt.internal.compiler.lookup.TypeVariableBinding |
|---|
acceptsNonNullDefault, annotatedDebugName, boundCheck, boundsCount, canBeInstantiated, collectSubstitutes, combineTypeAnnotations, constantPoolName, enterRecursiveFunction, erasure, evaluateNullAnnotations, exitRecursiveFunction, genericSignature, hasTypeBit, isErasureBoundTo, isHierarchyConnected, isInterchangeableWith, isProperType, isSubtypeOf, isTypeVariable, kind, mentionsAny, otherUpperBounds, setFirstBound, setSuperClass, setSuperInterfaces, setTypeAnnotations, superclass, superInterfaces, unannotated, upperBound |
| Methods inherited from class org.aspectj.org.eclipse.jdt.internal.compiler.lookup.Binding |
|---|
computeUniqueKey, initializeDeprecatedAnnotationTagBits, isParameter, isTaggedRepeatable, isValidBinding, isVolatile, problemId, setAnnotations |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
public TypeBinding lowerBound
public WildcardBinding wildcard
public int captureID
public ReferenceBinding sourceType
public int position
| Constructor Detail |
|---|
public CaptureBinding(WildcardBinding wildcard,
ReferenceBinding sourceType,
int position,
int captureID)
protected CaptureBinding(ReferenceBinding sourceType,
char[] sourceName,
int position,
int captureID,
LookupEnvironment environment)
public CaptureBinding(CaptureBinding prototype)
| Method Detail |
|---|
public TypeBinding clone(TypeBinding enclosingType)
TypeBinding
clone in class TypeVariableBindingpublic char[] computeUniqueKey(boolean isLeaf)
ReferenceBinding
computeUniqueKey in class TypeVariableBindingpublic java.lang.String debugName()
debugName in class TypeVariableBindingTypeBinding.debugName()public char[] genericTypeSignature()
TypeVariableBinding
genericTypeSignature in class TypeVariableBinding
public void initializeBounds(Scope scope,
ParameterizedTypeBinding capturedParameterizedType)
public boolean isCapture()
TypeBinding
isCapture in class TypeBindingTypeBinding.isCapture()public boolean isEquivalentTo(TypeBinding otherType)
TypeBinding
isEquivalentTo in class TypeBindingTypeBinding.isEquivalentTo(TypeBinding)public char[] readableName()
ReferenceBinding
readableName in class TypeVariableBindingReferenceBinding.readableName()public char[] shortReadableName()
shortReadableName in class TypeVariableBindingReferenceBinding.shortReadableName()
public char[] nullAnnotatedReadableName(CompilerOptions options,
boolean shortNames)
TypeBinding
nullAnnotatedReadableName in class TypeVariableBindingTypeBinding.nullAnnotatedReadableName(CompilerOptions,boolean)public TypeBinding uncapture(Scope scope)
TypeBinding
uncapture in class TypeBindingpublic java.lang.String toString()
toString in class TypeVariableBindingObject.toString()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||