Package spoon.reflect.cu.position
Interface BodyHolderSourcePosition
- All Superinterfaces:
CompoundSourcePosition
,DeclarationSourcePosition
,Serializable
,SourcePosition
- All Known Implementing Classes:
BodyHolderSourcePositionImpl
This interface represents the position of a Method or Type declaration in a source file.
The start/end represents range of whole program element including children element and comments
The nameStart/End represents range of name of program element.
The modifierSourceStart/End represents range of modifiers and annotations of the element
The bodyStart/End represents range of body of the element
-
Field Summary
Fields inherited from interface spoon.reflect.cu.SourcePosition
NOPOSITION
-
Method Summary
Methods inherited from interface spoon.reflect.cu.position.CompoundSourcePosition
getDeclarationEnd, getDeclarationStart, getNameEnd, getNameStart
Methods inherited from interface spoon.reflect.cu.position.DeclarationSourcePosition
addDefaultValueEnd, getDefaultValueEnd, getModifierSourceEnd, getModifierSourceStart
Methods inherited from interface spoon.reflect.cu.SourcePosition
getColumn, getCompilationUnit, getEndColumn, getEndLine, getFile, getLine, getSourceEnd, getSourceStart, isValidPosition, toString
-
Method Details
-
getBodyStart
int getBodyStart() -
getBodyEnd
int getBodyEnd()
-