| java.lang.Object org.eclipse.jdt.internal.compiler.lookup.LookupEnvironment
Method Summary | |
public ReferenceBinding | askForType(char[][] compoundName) Ask the name environment for a type which corresponds to the compoundName. | ReferenceBinding | askForType(PackageBinding packageBinding, char[] name) | public void | buildTypeBindings(CompilationUnitDeclaration unit, AccessRestriction accessRestriction) | public BinaryTypeBinding | cacheBinaryType(IBinaryType binaryType, AccessRestriction accessRestriction) | public BinaryTypeBinding | cacheBinaryType(IBinaryType binaryType, boolean needFieldsAndMethods, AccessRestriction accessRestriction) | public BinaryTypeBinding | cacheMissingBinaryType(char[][] compoundName, CompilationUnitDeclaration unit) | public void | completeTypeBindings() | public void | completeTypeBindings(CompilationUnitDeclaration parsedUnit) | public void | completeTypeBindings(CompilationUnitDeclaration parsedUnit, boolean buildFieldsAndMethods) | public TypeBinding | computeBoxingType(TypeBinding type) | public ReferenceBinding | convertToParameterizedType(ReferenceBinding originalType) Convert a given source type into a parameterized form if generic. | public TypeBinding | convertToRawType(TypeBinding type) | public TypeBinding | convertUnresolvedBinaryToRawType(TypeBinding type) | public AnnotationBinding | createAnnotation(ReferenceBinding annotationType, ElementValuePair[] pairs) | public ArrayBinding | createArrayType(TypeBinding leafComponentType, int dimensionCount) | public BinaryTypeBinding | createBinaryTypeFrom(IBinaryType binaryType, PackageBinding packageBinding, AccessRestriction accessRestriction) | public BinaryTypeBinding | createBinaryTypeFrom(IBinaryType binaryType, PackageBinding packageBinding, boolean needFieldsAndMethods, AccessRestriction accessRestriction) | public PackageBinding | createPackage(char[][] compoundName) | public ParameterizedGenericMethodBinding | createParameterizedGenericMethod(MethodBinding genericMethod, RawTypeBinding rawType) | public ParameterizedGenericMethodBinding | createParameterizedGenericMethod(MethodBinding genericMethod, TypeBinding[] typeArguments) | public ParameterizedTypeBinding | createParameterizedType(ReferenceBinding genericType, TypeBinding[] typeArguments, ReferenceBinding enclosingType) | public RawTypeBinding | createRawType(ReferenceBinding genericType, ReferenceBinding enclosingType) | public WildcardBinding | createWildcard(ReferenceBinding genericType, int rank, TypeBinding bound, TypeBinding[] otherBounds, int boundKind) | public AccessRestriction | getAccessRestriction(TypeBinding type) | public ReferenceBinding | getCachedType(char[][] compoundName) Answer the type for the compoundName if it exists in the cache.
Answer theNotFoundType if it could not be resolved the first time
it was looked up, otherwise answer null.
NOTE: Do not use for nested types... | PackageBinding | getPackage0(char[] name) | public ReferenceBinding | getResolvedType(char[][] compoundName, Scope scope) | PackageBinding | getTopLevelPackage(char[] name) | public ReferenceBinding | getType(char[][] compoundName) | ReferenceBinding | getTypeFromCompoundName(char[][] compoundName, boolean isParameterized) | ReferenceBinding | getTypeFromConstantPoolName(char[] signature, int start, int end, boolean isParameterized) | TypeBinding | getTypeFromSignature(char[] signature, int start, int end, boolean isParameterized, TypeBinding enclosingType) | TypeBinding | getTypeFromTypeSignature(SignatureWrapper wrapper, TypeVariableBinding[] staticVariables, ReferenceBinding enclosingType) | TypeBinding | getTypeFromVariantTypeSignature(SignatureWrapper wrapper, TypeVariableBinding[] staticVariables, ReferenceBinding enclosingType, ReferenceBinding genericType, int rank) | boolean | isPackage(char[][] compoundName, char[] name) | public MethodVerifier | methodVerifier() | public void | reset() | public void | setAccessRestriction(ReferenceBinding type, AccessRestriction accessRestriction) | void | updateCaches(UnresolvedReferenceBinding unresolvedType, ReferenceBinding resolvedType) |
BUILD_FIELDS_AND_METHODS | final static int BUILD_FIELDS_AND_METHODS(Code) | | |
BUILD_TYPE_HIERARCHY | final static int BUILD_TYPE_HIERARCHY(Code) | | |
CHECK_AND_SET_IMPORTS | final static int CHECK_AND_SET_IMPORTS(Code) | | |
CONNECT_TYPE_HIERARCHY | final static int CONNECT_TYPE_HIERARCHY(Code) | | |
missingClassFileLocation | public Object missingClassFileLocation(Code) | | |
askForType | public ReferenceBinding askForType(char[][] compoundName)(Code) | | Ask the name environment for a type which corresponds to the compoundName.
Answer null if the name cannot be found.
|
completeTypeBindings | public void completeTypeBindings()(Code) | | |
convertToParameterizedType | public ReferenceBinding convertToParameterizedType(ReferenceBinding originalType)(Code) | | Convert a given source type into a parameterized form if generic.
generic X --> param X
|
getCachedType | public ReferenceBinding getCachedType(char[][] compoundName)(Code) | | Answer the type for the compoundName if it exists in the cache.
Answer theNotFoundType if it could not be resolved the first time
it was looked up, otherwise answer null.
NOTE: Do not use for nested types... the answer is NOT the same for a.b.C or a.b.C.D.E
assuming C is a type in both cases. In the a.b.C.D.E case, null is the answer.
|
getTypeFromCompoundName | ReferenceBinding getTypeFromCompoundName(char[][] compoundName, boolean isParameterized)(Code) | | |
getTypeFromConstantPoolName | ReferenceBinding getTypeFromConstantPoolName(char[] signature, int start, int end, boolean isParameterized)(Code) | | |
getTypeFromSignature | TypeBinding getTypeFromSignature(char[] signature, int start, int end, boolean isParameterized, TypeBinding enclosingType)(Code) | | |
isPackage | boolean isPackage(char[][] compoundName, char[] name)(Code) | | |
reset | public void reset()(Code) | | |
setAccessRestriction | public void setAccessRestriction(ReferenceBinding type, AccessRestriction accessRestriction)(Code) | | Associate a given type with some access restriction
(did not store the restriction directly into binding, since sparse information)
|
|
|