Class Engine
java.lang.Object
org.aspectj.org.eclipse.jdt.internal.codeassist.impl.Engine
- All Implemented Interfaces:
ITypeRequestor
- Direct Known Subclasses:
CompletionEngine,SelectionEngine
-
Field Summary
FieldsModifier and TypeFieldDescriptionchar[]booleanbooleanintbooleanchar[][][]intprotected CompilationUnitScope -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidaccept(IBinaryType binaryType, PackageBinding packageBinding, AccessRestriction accessRestriction) Add an additional binary typevoidaccept(ICompilationUnit sourceUnit, AccessRestriction accessRestriction) Add an additional compilation unit.voidaccept(ISourceType[] sourceTypes, PackageBinding packageBinding, AccessRestriction accessRestriction) Add additional source types (the first one is the requested type, the rest is formed by the secondary types defined in the same compilation unit).abstract AssistParserstatic char[]getSignature(MethodBinding methodBinding) static char[]getSignature(TypeBinding typeBinding) static char[]getTypeSignature(TypeBinding typeBinding) voidvoidstatic booleanisAnonymousClassSignature(char[] result) protected booleanmustQualifyType(char[] packageName, char[] typeName, char[] enclosingTypeNames, int modifiers) protected ASTNodeparseBlockStatements(CompilationUnitDeclaration unit, int position) protected voidreset(boolean resetLookupEnvironment) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.aspectj.org.eclipse.jdt.internal.compiler.impl.ITypeRequestor
accept
-
Field Details
-
lookupEnvironment
-
unitScope
-
nameEnvironment
-
options
-
compilerOptions
-
forbiddenReferenceIsError
public boolean forbiddenReferenceIsError -
discouragedReferenceIsError
public boolean discouragedReferenceIsError -
importCachesInitialized
public boolean importCachesInitialized -
importsCache
public char[][][] importsCache -
onDemandImportsCache
-
importCacheCount
public int importCacheCount -
onDemandImportCacheCount
public int onDemandImportCacheCount -
currentPackageName
public char[] currentPackageName
-
-
Constructor Details
-
Engine
-
-
Method Details
-
accept
public void accept(IBinaryType binaryType, PackageBinding packageBinding, AccessRestriction accessRestriction) Add an additional binary type- Specified by:
acceptin interfaceITypeRequestor
-
accept
Add an additional compilation unit.- Specified by:
acceptin interfaceITypeRequestor
-
accept
public void accept(ISourceType[] sourceTypes, PackageBinding packageBinding, AccessRestriction accessRestriction) Add additional source types (the first one is the requested type, the rest is formed by the secondary types defined in the same compilation unit).- Specified by:
acceptin interfaceITypeRequestor
-
getParser
-
initializeImportCaches
public void initializeImportCaches() -
initializePackageCache
public void initializePackageCache() -
mustQualifyType
protected boolean mustQualifyType(char[] packageName, char[] typeName, char[] enclosingTypeNames, int modifiers) -
parseBlockStatements
-
reset
protected void reset(boolean resetLookupEnvironment) -
getTypeSignature
-
getSignature
-
getSignature
-
isAnonymousClassSignature
public static boolean isAnonymousClassSignature(char[] result)
-