public class BodyHolderSourcePositionImpl extends DeclarationSourcePositionImpl implements BodyHolderSourcePosition, java.io.Serializable
NOPOSITION
Constructor and Description |
---|
BodyHolderSourcePositionImpl(CompilationUnit compilationUnit,
int nameStart,
int nameEnd,
int modifierSourceStart,
int modifierSourceEnd,
int declarationSourceStart,
int declarationSourceEnd,
int bodyStart,
int bodyEnd,
int[] lineSeparatorPositions) |
Modifier and Type | Method and Description |
---|---|
int |
getBodyEnd() |
int |
getBodyStart() |
java.lang.String |
getSourceDetails()
Helper for debugging purposes.
|
addDefaultValueEnd, getDefaultValueEnd, getModifierSourceEnd, getModifierSourceStart, getSourceEnd, setModifierSourceEnd
getDeclarationEnd, getDeclarationStart, getEndColumn, getEndLine, getNameEnd, getNameStart, getSourceStart
checkArgsAreAscending, equals, getColumn, getCompilationUnit, getFile, getFragment, getLine, hashCode, isValidPosition, searchColumnNumber, searchLineNumber, toString
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
addDefaultValueEnd, getDefaultValueEnd, getModifierSourceEnd, getModifierSourceStart
getDeclarationEnd, getDeclarationStart, getNameEnd, getNameStart
getColumn, getCompilationUnit, getEndColumn, getEndLine, getFile, getLine, getSourceEnd, getSourceStart, isValidPosition, toString
public BodyHolderSourcePositionImpl(CompilationUnit compilationUnit, int nameStart, int nameEnd, int modifierSourceStart, int modifierSourceEnd, int declarationSourceStart, int declarationSourceEnd, int bodyStart, int bodyEnd, int[] lineSeparatorPositions)
public int getBodyStart()
getBodyStart
in interface BodyHolderSourcePosition
public int getBodyEnd()
getBodyEnd
in interface BodyHolderSourcePosition
public java.lang.String getSourceDetails()
SourcePositionImpl
SourcePosition
If this instance is DeclarationSourcePosition
or BodyHolderSourcePosition
Then details about name, modifiers and body are included in resulting string toogetSourceDetails
in class DeclarationSourcePositionImpl
SourcePosition
Copyright © 2007–2021 Inria. All rights reserved.