org.aspectj.weaver
Interface IHasPosition

All Known Subinterfaces:
BindingPattern, IHasSourceLocation, IToken
All Known Implementing Classes:
Advice, AndAnnotationTypePattern, AndPointcut, AndTypePattern, AnnotationPatternList, AnnotationPointcut, AnnotationTypePattern, AnyAnnotationTypePattern, AnyTypePattern, AnyWithAnnotationTypePattern, ArgsAnnotationPointcut, ArgsPointcut, AtAjAttributes.LazyResolvedPointcutDefinition, BasicToken, BindingAnnotationFieldTypePattern, BindingAnnotationTypePattern, BindingTypePattern, CflowPointcut, Checker, ConcreteCflowPointcut, Declare, DeclareAnnotation, DeclareErrorOrWarning, DeclareParents, DeclareParentsMixin, DeclarePrecedence, DeclareSoft, DeclareTypeErrorOrWarning, DeferredResolvedPointcutDefinition, EllipsisTypePattern, ExactAnnotationFieldTypePattern, ExactAnnotationTypePattern, ExactTypePattern, FormalBinding, FormalBinding.ImplicitFormalBinding, HandlerPointcut, HasMemberTypePattern, HasMemberTypePatternForPerThisMatching, IfPointcut, IfPointcut.IfFalsePointcut, IfPointcut.IfTruePointcut, KindedPointcut, ModifiersPattern, NameBindingPointcut, NamePattern, NotAnnotationTypePattern, NotPointcut, NotTypePattern, NoTypePattern, OrAnnotationTypePattern, OrPointcut, OrTypePattern, PatternNode, PerCflow, PerClause, PerFromSuper, PerObject, PerSingleton, PerTypeWithin, Pointcut, PointcutDesignatorHandlerBasedPointcut, Position, ReferencePointcut, ReflectionBasedResolvedMemberImpl, ResolvedMemberImpl, ResolvedPointcutDefinition, ShadowMunger, SignaturePattern, ThisOrTargetAnnotationPointcut, ThisOrTargetPointcut, ThrowsPattern, TypeCategoryTypePattern, TypePattern, TypePatternList, TypeVariablePattern, TypeVariablePatternList, WildAnnotationTypePattern, WildTypePattern, WithinAnnotationPointcut, WithinCodeAnnotationPointcut, WithincodePointcut, WithinPointcut

public interface IHasPosition


Method Summary
 int getEnd()
          The ending index of this location in the character stream This points to the last character in this token.
 int getStart()
          The starting index of this location in the character stream.
 

Method Detail

getStart

int getStart()
The starting index of this location in the character stream.


getEnd

int getEnd()
The ending index of this location in the character stream This points to the last character in this token. If a location truly had no contents, then start == end + 1. We don't recommend this.