org.aspectj.org.eclipse.jdt.internal.codeassist.impl
Class Engine
java.lang.Object
org.aspectj.org.eclipse.jdt.internal.codeassist.impl.Engine
- All Implemented Interfaces:
- ITypeRequestor
- Direct Known Subclasses:
- CompletionEngine, SelectionEngine
public abstract class Engine
- extends java.lang.Object
- implements ITypeRequestor
|
Constructor Summary |
Engine(java.util.Map settings)
|
|
Method Summary |
void |
accept(IBinaryType binaryType,
PackageBinding packageBinding,
AccessRestriction accessRestriction)
Add an additional binary type |
void |
accept(ICompilationUnit sourceUnit,
AccessRestriction accessRestriction)
Add an additional compilation unit. |
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). |
abstract AssistParser |
getParser()
|
static char[] |
getSignature(MethodBinding methodBinding)
|
static char[] |
getSignature(TypeBinding typeBinding)
|
static char[] |
getTypeSignature(TypeBinding typeBinding)
|
void |
initializeImportCaches()
|
void |
initializePackageCache()
|
protected boolean |
mustQualifyType(char[] packageName,
char[] typeName,
char[] enclosingTypeNames,
int modifiers)
|
protected ASTNode |
parseBlockStatements(CompilationUnitDeclaration unit,
int position)
|
protected void |
reset(boolean resetLookupEnvironment)
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
lookupEnvironment
public LookupEnvironment lookupEnvironment
unitScope
protected CompilationUnitScope unitScope
nameEnvironment
public SearchableEnvironment nameEnvironment
options
public AssistOptions options
compilerOptions
public CompilerOptions compilerOptions
forbiddenReferenceIsError
public boolean forbiddenReferenceIsError
discouragedReferenceIsError
public boolean discouragedReferenceIsError
importCachesInitialized
public boolean importCachesInitialized
importsCache
public char[][][] importsCache
onDemandImportsCache
public ImportBinding[] onDemandImportsCache
importCacheCount
public int importCacheCount
onDemandImportCacheCount
public int onDemandImportCacheCount
currentPackageName
public char[] currentPackageName
Engine
public Engine(java.util.Map settings)
accept
public void accept(IBinaryType binaryType,
PackageBinding packageBinding,
AccessRestriction accessRestriction)
- Add an additional binary type
- Specified by:
accept in interface ITypeRequestor
accept
public void accept(ICompilationUnit sourceUnit,
AccessRestriction accessRestriction)
- Add an additional compilation unit.
- Specified by:
accept in interface ITypeRequestor
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:
accept in interface ITypeRequestor
getParser
public abstract AssistParser getParser()
initializeImportCaches
public void initializeImportCaches()
initializePackageCache
public void initializePackageCache()
mustQualifyType
protected boolean mustQualifyType(char[] packageName,
char[] typeName,
char[] enclosingTypeNames,
int modifiers)
parseBlockStatements
protected ASTNode parseBlockStatements(CompilationUnitDeclaration unit,
int position)
reset
protected void reset(boolean resetLookupEnvironment)
getTypeSignature
public static char[] getTypeSignature(TypeBinding typeBinding)
getSignature
public static char[] getSignature(MethodBinding methodBinding)
getSignature
public static char[] getSignature(TypeBinding typeBinding)