Package org.aspectj.weaver.patterns
Klasse PatternNode
java.lang.Object
org.aspectj.weaver.patterns.PatternNode
- Alle implementierten Schnittstellen:
IHasPosition,IHasSourceLocation
- Bekannte direkte Unterklassen:
AnnotationPatternList,AnnotationTypePattern,Declare,ModifiersPattern,NamePattern,Pointcut,SignaturePattern,ThrowsPattern,TypePattern,TypePatternList,TypeVariablePattern,TypeVariablePatternList
-
Feldübersicht
Felder -
Konstruktorübersicht
Konstruktoren -
Methodenübersicht
Modifizierer und TypMethodeBeschreibungabstract Objectaccept(PatternNodeVisitor visitor, Object data) voidcopyLocationFrom(PatternNode other) intgetEnd()The ending index of this location in the character stream This points to the last character in this token.intgetStart()The starting index of this location in the character stream.voidreadLocation(ISourceContext context, DataInputStream s) voidsetLocation(ISourceContext sourceContext, int start, int end) traverse(PatternNodeVisitor visitor, Object data) abstract voidvoid
-
Felddetails
-
start
protected int start -
end
protected int end -
sourceContext
-
-
Konstruktordetails
-
PatternNode
public PatternNode()
-
-
Methodendetails
-
getStart
public int getStart()Beschreibung aus Schnittstelle kopiert:IHasPositionThe starting index of this location in the character stream.- Angegeben von:
getStartin SchnittstelleIHasPosition
-
getEnd
public int getEnd()Beschreibung aus Schnittstelle kopiert:IHasPositionThe 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.- Angegeben von:
getEndin SchnittstelleIHasPosition
-
getSourceContext
- Angegeben von:
getSourceContextin SchnittstelleIHasSourceLocation
-
getFileName
-
setLocation
-
copyLocationFrom
-
getSourceLocation
- Angegeben von:
getSourceLocationin SchnittstelleIHasSourceLocation
-
write
- Löst aus:
IOException
-
writeLocation
- Löst aus:
IOException
-
readLocation
- Löst aus:
IOException
-
accept
-
traverse
-