Schnittstelle IHasPosition

Alle bekannten Unterschnittstellen:
BindingPattern, IHasSourceLocation, IToken
Alle bekannten Implementierungsklassen:
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
  • Methodenübersicht

    Modifizierer und Typ
    Methode
    Beschreibung
    int
    The ending index of this location in the character stream This points to the last character in this token.
    int
    The starting index of this location in the character stream.
  • Methodendetails

    • 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.