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
-
Method Summary
Modifier and TypeMethodDescriptionvoid
acceptImport
(int declarationStart, int declarationEnd, int nameStart, int nameEnd, char[][] tokens, boolean onDemand, int modifiers) Deprecated.void
acceptPackage
(ImportReference importReference) Deprecated.void
acceptProblem
(CategorizedProblem problem) Deprecated.Does nothing.createCompilationUnit
(String sourceCode, String name) Deprecated.createCompilationUnit
(ICompilationUnit compilationUnit) Deprecated.protected void
Deprecated.Creates a new DOMMethod and inizializes.void
enterConstructor
(ISourceElementRequestor.MethodInfo methodInfo) Deprecated.void
enterField
(ISourceElementRequestor.FieldInfo fieldInfo) Deprecated.void
enterInitializer
(int declarationSourceStart, int modifiers) Deprecated.void
enterMethod
(ISourceElementRequestor.MethodInfo methodInfo) Deprecated.void
enterType
(ISourceElementRequestor.TypeInfo typeInfo) Deprecated.void
exitConstructor
(int declarationEnd) Deprecated.Finishes the configuration of the method DOM object which was created by a previous enterConstructor call.void
exitField
(int initializationStart, int declarationEnd, int declarationSourceEnd) Deprecated.void
exitInitializer
(int declarationEnd) Deprecated.protected void
exitMember
(int declarationEnd) Deprecated.Finishes the configuration of the member.void
exitMethod
(int declarationEnd, Expression defaultValue) Deprecated.void
exitType
(int declarationEnd) Deprecated.protected SourceElementParser
Deprecated.Creates a new parser.Methods inherited from class org.aspectj.org.eclipse.jdt.internal.core.jdom.AbstractDOMBuilder
acceptLineSeparatorPositions, addChild, createCompilationUnit, enterCompilationUnit, exitCompilationUnit, exitType, getLineStart, initializeBuild
Methods inherited from class org.aspectj.org.eclipse.jdt.internal.core.util.ReferenceInfoAdapter
acceptAnnotationTypeReference, acceptAnnotationTypeReference, acceptConstructorReference, acceptFieldReference, acceptMethodReference, acceptTypeReference, acceptTypeReference, acceptUnknownReference, acceptUnknownReference
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods 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
Deprecated.Does nothing.- Specified by:
acceptProblem
in interfaceISourceElementRequestor
-
acceptImport
public void acceptImport(int declarationStart, int declarationEnd, int nameStart, int nameEnd, char[][] tokens, boolean onDemand, int modifiers) Deprecated.- Specified by:
acceptImport
in 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:
acceptPackage
in interfaceISourceElementRequestor
-
createCompilationUnit
Deprecated.- See Also:
-
createCompilationUnit
Deprecated.- Overrides:
createCompilationUnit
in classAbstractDOMBuilder
- See Also:
-
enterAbstractMethod
Deprecated.Creates a new DOMMethod and inizializes. -
enterConstructor
Deprecated.- Specified by:
enterConstructor
in interfaceISourceElementRequestor
-
enterField
Deprecated.- Specified by:
enterField
in interfaceISourceElementRequestor
-
enterInitializer
public void enterInitializer(int declarationSourceStart, int modifiers) Deprecated.- Specified by:
enterInitializer
in interfaceISourceElementRequestor
-
enterMethod
Deprecated.- Specified by:
enterMethod
in interfaceISourceElementRequestor
-
enterType
Deprecated.- Specified by:
enterType
in 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:
exitConstructor
in interfaceISourceElementRequestor
- See Also:
-
exitField
public void exitField(int initializationStart, int declarationEnd, int declarationSourceEnd) Deprecated.- Specified by:
exitField
in interfaceISourceElementRequestor
-
exitInitializer
public void exitInitializer(int declarationEnd) Deprecated.- Specified by:
exitInitializer
in 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:
exitMethod
in interfaceISourceElementRequestor
-
exitType
public void exitType(int declarationEnd) Deprecated.- Specified by:
exitType
in 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.
-