Class SimpleDOMBuilder
java.lang.Object
org.aspectj.org.eclipse.jdt.internal.core.util.ReferenceInfoAdapter
org.aspectj.org.eclipse.jdt.internal.core.jdom.AbstractDOMBuilder
org.aspectj.org.eclipse.jdt.internal.core.jdom.SimpleDOMBuilder
- All Implemented Interfaces:
ISourceElementRequestor,ILineStartFinder
Deprecated.
The JDOM was made obsolete by the addition in 2.0 of the more
powerful, fine-grained DOM/AST API found in the
org.eclipse.jdt.core.dom package.
A DOM builder that uses the SourceElementParser
-
Nested Class Summary
Nested classes/interfaces inherited from interface org.aspectj.org.eclipse.jdt.internal.compiler.ISourceElementRequestor
ISourceElementRequestor.FieldInfo, ISourceElementRequestor.MethodInfo, ISourceElementRequestor.ModuleInfo, ISourceElementRequestor.PackageExportInfo, ISourceElementRequestor.ParameterInfo, ISourceElementRequestor.RequiresInfo, ISourceElementRequestor.ServicesInfo, ISourceElementRequestor.TypeInfo, ISourceElementRequestor.TypeParameterInfo -
Field Summary
Fields inherited from class org.aspectj.org.eclipse.jdt.internal.core.jdom.AbstractDOMBuilder
fAbort, fBuildingCU, fBuildingType, fDocument, fFieldCount, fLineStartPositions, fNode, fStack -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidacceptImport(int declarationStart, int declarationEnd, int nameStart, int nameEnd, char[][] tokens, boolean onDemand, int modifiers) Deprecated.voidacceptPackage(ImportReference importReference) Deprecated.voidacceptProblem(CategorizedProblem problem) Deprecated.Does nothing.createCompilationUnit(String sourceCode, String name) Deprecated.createCompilationUnit(ICompilationUnit compilationUnit) Deprecated.protected voidDeprecated.Creates a new DOMMethod and inizializes.voidenterConstructor(ISourceElementRequestor.MethodInfo methodInfo) Deprecated.voidenterField(ISourceElementRequestor.FieldInfo fieldInfo) Deprecated.voidenterInitializer(int declarationSourceStart, int modifiers) Deprecated.voidenterMethod(ISourceElementRequestor.MethodInfo methodInfo) Deprecated.voidenterType(ISourceElementRequestor.TypeInfo typeInfo) Deprecated.voidexitConstructor(int declarationEnd) Deprecated.Finishes the configuration of the method DOM object which was created by a previous enterConstructor call.voidexitField(int initializationStart, int declarationEnd, int declarationSourceEnd) Deprecated.voidexitInitializer(int declarationEnd) Deprecated.protected voidexitMember(int declarationEnd) Deprecated.Finishes the configuration of the member.voidexitMethod(int declarationEnd, Expression defaultValue) Deprecated.voidexitType(int declarationEnd) Deprecated.protected SourceElementParserDeprecated.Creates a new parser.Methods inherited from class org.aspectj.org.eclipse.jdt.internal.core.jdom.AbstractDOMBuilder
acceptLineSeparatorPositions, addChild, createCompilationUnit, enterCompilationUnit, exitCompilationUnit, exitType, getLineStart, initializeBuildMethods inherited from class org.aspectj.org.eclipse.jdt.internal.core.util.ReferenceInfoAdapter
acceptAnnotationTypeReference, acceptAnnotationTypeReference, acceptConstructorReference, acceptFieldReference, acceptMethodReference, acceptTypeReference, acceptTypeReference, acceptUnknownReference, acceptUnknownReferenceMethods 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.ISourceElementRequestor
acceptAnnotationTypeReference, acceptAnnotationTypeReference, acceptConstructorReference, acceptFieldReference, acceptLineSeparatorPositions, acceptMethodReference, acceptTypeReference, acceptTypeReference, acceptUnknownReference, acceptUnknownReference, enterCompactConstructor, enterCompilationUnit, enterModule, exitCompactConstructor, exitCompilationUnit, exitModule
-
Constructor Details
-
SimpleDOMBuilder
public SimpleDOMBuilder()Deprecated.
-
-
Method Details
-
acceptProblem
-
acceptImport
public void acceptImport(int declarationStart, int declarationEnd, int nameStart, int nameEnd, char[][] tokens, boolean onDemand, int modifiers) Deprecated.- Specified by:
acceptImportin interfaceISourceElementRequestor- Parameters:
declarationStart- This is the position of the first character of the import keyword.declarationEnd- This is the position of the ';' ending the import statement or the end of the comment following the import.nameStart- This is the position of the first character of the import declaration's name.nameEnd- This is the position of the last character of the import declaration's name.tokens- This are the tokens of the import like specified in the source.onDemand- set to true if the import is an import on demand (e.g. import java.io.*). False otherwise.modifiers- can be set to static from 1.5 on.
-
acceptPackage
Deprecated.- Specified by:
acceptPackagein interfaceISourceElementRequestor
-
createCompilationUnit
Deprecated.- See Also:
-
createCompilationUnit
Deprecated.- Overrides:
createCompilationUnitin classAbstractDOMBuilder- See Also:
-
enterAbstractMethod
Deprecated.Creates a new DOMMethod and inizializes. -
enterConstructor
Deprecated.- Specified by:
enterConstructorin interfaceISourceElementRequestor
-
enterField
Deprecated.- Specified by:
enterFieldin interfaceISourceElementRequestor
-
enterInitializer
public void enterInitializer(int declarationSourceStart, int modifiers) Deprecated.- Specified by:
enterInitializerin interfaceISourceElementRequestor
-
enterMethod
Deprecated.- Specified by:
enterMethodin interfaceISourceElementRequestor
-
enterType
Deprecated.- Specified by:
enterTypein interfaceISourceElementRequestor
-
exitConstructor
public void exitConstructor(int declarationEnd) Deprecated.Finishes the configuration of the method DOM object which was created by a previous enterConstructor call.- Specified by:
exitConstructorin interfaceISourceElementRequestor- See Also:
-
exitField
public void exitField(int initializationStart, int declarationEnd, int declarationSourceEnd) Deprecated.- Specified by:
exitFieldin interfaceISourceElementRequestor
-
exitInitializer
public void exitInitializer(int declarationEnd) Deprecated.- Specified by:
exitInitializerin interfaceISourceElementRequestor
-
exitMember
protected void exitMember(int declarationEnd) Deprecated.Finishes the configuration of the member.- Parameters:
declarationEnd- - a source position corresponding to the end of the method declaration. This can include whitespace and comments following the closing bracket.
-
exitMethod
Deprecated.- Specified by:
exitMethodin interfaceISourceElementRequestor
-
exitType
public void exitType(int declarationEnd) Deprecated.- Specified by:
exitTypein interfaceISourceElementRequestor- Parameters:
declarationEnd- - a source position corresponding to the end of the class declaration. This can include whitespace and comments following the closing bracket.- See Also:
-
getParser
Deprecated.Creates a new parser.
-