org.eclipse.jdt.internal.compiler.lookup
类 CompilationUnitScope

java.lang.Object
  继承者 org.eclipse.jdt.internal.compiler.lookup.Scope
      继承者 org.eclipse.jdt.internal.compiler.lookup.CompilationUnitScope

public class CompilationUnitScope
extends Scope


字段摘要
 char[][] currentPackageName
           
 LookupEnvironment environment
           
 PackageBinding fPackage
           
 ImportBinding[] imports
           
 CompilationUnitDeclaration referenceContext
           
 SourceTypeBinding[] topLevelTypes
           
 HashtableOfObject typeOrPackageCache
           
 
从类 org.eclipse.jdt.internal.compiler.lookup.Scope 继承的字段
AUTOBOX_COMPATIBLE, BLOCK_SCOPE, CLASS_SCOPE, COMPATIBLE, COMPILATION_UNIT_SCOPE, EQUAL_OR_MORE_SPECIFIC, kind, METHOD_SCOPE, MORE_GENERIC, NOT_COMPATIBLE, NOT_RELATED, parent, VARARGS_COMPATIBLE
 
构造方法摘要
CompilationUnitScope(CompilationUnitDeclaration unit, LookupEnvironment environment)
           
 
方法摘要
 char[] computeConstantPoolName(LocalTypeBinding localType)
           
 void faultInTypes()
           
 Binding findImport(char[][] compoundName, boolean findStaticImports, boolean onDemand)
           
 Binding getImport(char[][] compoundName, boolean onDemand, boolean isStaticImport)
           
 int nextCaptureID()
           
 ProblemReporter problemReporter()
           
 void recordTypeConversion(TypeBinding superType, TypeBinding subType)
           
 void storeDependencyInfo()
           
 String toString()
           
 void verifyMethods(MethodVerifier verifier)
           
 
从类 org.eclipse.jdt.internal.compiler.lookup.Scope 继承的方法
boxing, classScope, compareTypes, compilationUnitScope, compilerOptions, computeCompatibleMethod, connectTypeVariables, convertEliminatingTypeVariables, createArrayType, createTypeVariables, deferBoundCheck, enclosingClassScope, enclosingMethodScope, enclosingReceiverType, enclosingReferenceContext, enclosingSourceType, environment, findDefaultAbstractMethod, findDirectMemberType, findExactMethod, findField, findField, findMemberType, findMethod, findMethod, findMethodForArray, findMethodInSuperInterfaces, findType, findVariable, getBaseType, getBinding, getConstructor, getCurrentPackage, getDeclarationModifiers, getField, getImplicitMethod, getJavaIoSerializable, getJavaLangAnnotationAnnotation, getJavaLangAssertionError, getJavaLangClass, getJavaLangCloneable, getJavaLangEnum, getJavaLangIterable, getJavaLangObject, getJavaLangString, getJavaLangThrowable, getJavaUtilIterator, getMemberType, getMethod, getPackage, getStaticFactory, getType, getType, getType, getTypeOrPackage, greaterLowerBound, greaterLowerBound, hasErasedCandidatesCollisions, innermostSwitchCase, isAcceptableMethod, isBoxingCompatibleWith, isDefinedInField, isDefinedInMethod, isDefinedInSameUnit, isDefinedInType, isInsideCase, isInsideDeprecatedCode, isPossibleSubtypeOfRawType, lowerUpperBound, methodScope, minimalErasedCandidates, mostSpecificClassMethodBinding, mostSpecificInterfaceMethodBinding, mostSpecificMethodBinding, outerMostClassScope, outerMostMethodScope, parameterCompatibilityLevel, referenceCompilationUnit, referenceContext, substitute, substitute, substitute
 
从类 java.lang.Object 继承的方法
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

字段详细信息

environment

public LookupEnvironment environment

referenceContext

public CompilationUnitDeclaration referenceContext

currentPackageName

public char[][] currentPackageName

fPackage

public PackageBinding fPackage

imports

public ImportBinding[] imports

typeOrPackageCache

public HashtableOfObject typeOrPackageCache

topLevelTypes

public SourceTypeBinding[] topLevelTypes
构造方法详细信息

CompilationUnitScope

public CompilationUnitScope(CompilationUnitDeclaration unit,
                            LookupEnvironment environment)
方法详细信息

computeConstantPoolName

public char[] computeConstantPoolName(LocalTypeBinding localType)

faultInTypes

public void faultInTypes()

findImport

public Binding findImport(char[][] compoundName,
                          boolean findStaticImports,
                          boolean onDemand)

getImport

public final Binding getImport(char[][] compoundName,
                               boolean onDemand,
                               boolean isStaticImport)

nextCaptureID

public int nextCaptureID()

problemReporter

public ProblemReporter problemReporter()
指定者:
Scope 中的 problemReporter

recordTypeConversion

public void recordTypeConversion(TypeBinding superType,
                                 TypeBinding subType)

storeDependencyInfo

public void storeDependencyInfo()

toString

public String toString()
覆盖:
Object 中的 toString

verifyMethods

public void verifyMethods(MethodVerifier verifier)


Copyright © 2013. All Rights Reserved.