| Modifier and Type | Field and Description |
|---|---|
| private boolean | allowHasTypePatterns
not thread-safe, but this class is not intended to be... |
| private IToken | |
| private Set | pointcutDesignatorHandlers
extension handlers used in weaver tools API only |
| private ISourceContext | |
| private ITokenSource | |
| private World |
| Access | Constructor and Description |
|---|---|
| public | |
| public | |
| public |
| Modifier and Type | Method and Description |
|---|---|
| private void | |
| public void | |
| private void | |
| public void | |
| private void | |
| public void | |
| private boolean | |
| private boolean | |
| public boolean | |
| public boolean | |
| public boolean | |
| public String | |
| private boolean | |
| private TypePattern[] | |
| public AnnotationTypePattern | |
| public PerClause | |
| public String[] | |
| public AnnotationTypePattern | |
| public TypePatternList | |
| public TypeVariablePatternList | maybeParseTypeVariableList()
Parse type variable declarations for a generic method or at the start of a signature pointcut to identify type variable names in a generic type. |
| public boolean | |
| private IToken | |
| protected ExactAnnotationTypePattern | |
| public String | |
| public Pointcut | |
| public Map | |
| private Pointcut | |
| private Pointcut | |
| public AnnotationPatternList | |
| public TypePatternList | |
| private Pointcut | |
| private Pointcut | |
| private TypePattern | |
| private Pointcut | |
| public ISignaturePattern | |
| public ISignaturePattern | |
| private SignaturePattern | |
| public Declare | |
| public Declare | |
| public DeclareAnnotation | |
| public DeclareAnnotation | |
| public DeclareAnnotation | |
| private Pointcut | |
| public DeclarePrecedence | |
| public List | |
| public List | |
| private Declare | Returns: the new declaretrue if it is declare error rather than declare warning isError)Attempt to parse a pointcut, if that fails then try again for a type pattern. |
| public SignaturePattern | |
| public TypePattern | |
| public TypePattern | |
| public TypePattern | |
| public String | |
| public TypePattern | Returns: a TypeIsTypePattern or null if could not be parsedAttempt to parse a typeIs(<category>) construct. |
| private KindedPointcut | |
| public ISignaturePattern | |
| public ISignaturePattern | |
| public SignaturePattern | |
| public ModifiersPattern | |
| private KindedPointcut | |
| public NamePattern | |
| private Pointcut | |
| private TypePattern | |
| public ThrowsPattern | |
| private Declare | |
| private PerClause | |
| private PerClause | |
| private PerClause | |
| private PerClause | |
| public Pointcut | |
| public Pointcut | |
| public String | |
| private Pointcut | |
| private ExactAnnotationTypePattern | |
| public Pointcut | |
| public TypePattern | |
| public TypePattern | |
| private Declare | |
| public String | |
| private Pointcut | |
| private Pointcut | |
| public TypePattern | |
| public TypePattern | |
| public TypeVariablePattern | |
| private Pointcut | |
| private Pointcut | |
| private Pointcut | |
| private Pointcut | |
| public boolean | |
| private TypePattern | setAnnotationPatternForTypePattern(TypePattern t, AnnotationTypePattern ap, boolean parameterAnnotationsPattern)
|
| public void | setPointcutDesignatorHandlers(Set<PointcutDesignatorHandler> handlers, World world)
only used by weaver tools API |
| private NamePattern |
| allowHasTypePatterns | back to summary |
|---|---|
| private boolean allowHasTypePatterns not thread-safe, but this class is not intended to be... | |
| pendingRightArrows | back to summary |
|---|---|
| private IToken pendingRightArrows | |
| pointcutDesignatorHandlers | back to summary |
|---|---|
| private Set<PointcutDesignatorHandler> pointcutDesignatorHandlers extension handlers used in weaver tools API only | |
| sourceContext | back to summary |
|---|---|
| private ISourceContext sourceContext | |
| tokenSource | back to summary |
|---|---|
| private ITokenSource tokenSource | |
| world | back to summary |
|---|---|
| private World world | |
| PatternParser | back to summary |
|---|---|
| public PatternParser(ITokenSource tokenSource) Constructor for PatternParser. | |
| PatternParser | back to summary |
|---|---|
| public PatternParser(String data) | |
| PatternParser | back to summary |
|---|---|
| public PatternParser(String data, ISourceContext context) | |
| assertNoTypeVariables | back to summary |
|---|---|
| private void assertNoTypeVariables(String[] tvs, String errorMessage, IToken token) | |
| checkEof | back to summary |
|---|---|
| public void checkEof() | |
| checkLegalName | back to summary |
|---|---|
| private void checkLegalName(String s, IToken tok) | |
| eat | back to summary |
|---|---|
| public void eat(String expectedValue) | |
| eat | back to summary |
|---|---|
| private void eat(String expectedValue, String expectedMessage) | |
| eatIdentifier | back to summary |
|---|---|
| public void eatIdentifier(String expectedValue) | |
| isAdjacent | back to summary |
|---|---|
| private boolean isAdjacent(IToken first, IToken second) | |
| isEitherAndOrOr | back to summary |
|---|---|
| private boolean isEitherAndOrOr() | |
| maybeEat | back to summary |
|---|---|
| public boolean maybeEat(String token) | |
| maybeEatAdjacent | back to summary |
|---|---|
| public boolean maybeEatAdjacent(String token) | |
| maybeEatIdentifier | back to summary |
|---|---|
| public boolean maybeEatIdentifier(String expectedValue) | |
| maybeEatIdentifier | back to summary |
|---|---|
| public String maybeEatIdentifier() | |
| maybeEatNew | back to summary |
|---|---|
| private boolean maybeEatNew(TypePattern returnType) | |
| maybeParseAdditionalInterfaceBounds | back to summary |
|---|---|
| private TypePattern[] maybeParseAdditionalInterfaceBounds() | |
| maybeParseAnnotationPattern | back to summary |
|---|---|
| public AnnotationTypePattern maybeParseAnnotationPattern() | |
| maybeParsePerClause | back to summary |
|---|---|
| public PerClause maybeParsePerClause() | |
| maybeParseSimpleTypeVariableList | back to summary |
|---|---|
| public String[] maybeParseSimpleTypeVariableList() | |
| maybeParseSingleAnnotationPattern | back to summary |
|---|---|
| public AnnotationTypePattern maybeParseSingleAnnotationPattern() | |
| maybeParseTypeParameterList | back to summary |
|---|---|
| public TypePatternList maybeParseTypeParameterList() | |
| maybeParseTypeVariableList | back to summary |
|---|---|
| public TypeVariablePatternList maybeParseTypeVariableList() Parse type variable declarations for a generic method or at the start of a signature pointcut to identify type variable names in a generic type. | |
| moreToParse | back to summary |
|---|---|
| public boolean moreToParse() | |
| nextToken | back to summary |
|---|---|
| private IToken nextToken() | |
| parseAnnotationNameOrVarTypePattern | back to summary |
|---|---|
| protected ExactAnnotationTypePattern parseAnnotationNameOrVarTypePattern() | |
| parseAnnotationNameValuePattern | back to summary |
|---|---|
| public String parseAnnotationNameValuePattern() | |
| parseAnnotationPointcut | back to summary |
|---|---|
| public Pointcut parseAnnotationPointcut() | |
| parseAnnotationValues | back to summary |
|---|---|
| public Map | |
| parseArgsAnnotationPointcut | back to summary |
|---|---|
| private Pointcut parseArgsAnnotationPointcut() | |
| parseArgsPointcut | back to summary |
|---|---|
| private Pointcut parseArgsPointcut() Method parseArgsPointcut.
| |
| parseArgumentsAnnotationPattern | back to summary |
|---|---|
| public AnnotationPatternList parseArgumentsAnnotationPattern() | |
| parseArgumentsPattern | back to summary |
|---|---|
| public TypePatternList parseArgumentsPattern(boolean parameterAnnotationsPossible) | |
| parseAtAnnotationPointcut | back to summary |
|---|---|
| private Pointcut parseAtAnnotationPointcut() | |
| parseAtomicPointcut | back to summary |
|---|---|
| private Pointcut parseAtomicPointcut() | |
| parseAtomicTypePattern | back to summary |
|---|---|
| private TypePattern parseAtomicTypePattern(boolean insideTypeParameters, boolean parameterAnnotationsPossible) | |
| parseCflowPointcut | back to summary |
|---|---|
| private Pointcut parseCflowPointcut(boolean isBelow) | |
| parseCompoundFieldSignaturePattern | back to summary |
|---|---|
| public ISignaturePattern parseCompoundFieldSignaturePattern() | |
| parseCompoundMethodOrConstructorSignaturePattern | back to summary |
|---|---|
| public ISignaturePattern parseCompoundMethodOrConstructorSignaturePattern(boolean isMethod) | |
| parseConstructorSignaturePattern | back to summary |
|---|---|
| private SignaturePattern parseConstructorSignaturePattern() | |
| parseDeclare | back to summary |
|---|---|
| public Declare parseDeclare() | |
| parseDeclareAnnotation | back to summary |
|---|---|
| public Declare parseDeclareAnnotation() | |
| parseDeclareAtField | back to summary |
|---|---|
| public DeclareAnnotation parseDeclareAtField() | |
| parseDeclareAtMethod | back to summary |
|---|---|
| public DeclareAnnotation parseDeclareAtMethod(boolean isMethod) | |
| parseDeclareAtType | back to summary |
|---|---|
| public DeclareAnnotation parseDeclareAtType() | |
| parseDesignatorPointcut | back to summary |
|---|---|
| private Pointcut parseDesignatorPointcut(PointcutDesignatorHandler pcdHandler) | |
| parseDominates | back to summary |
|---|---|
| public DeclarePrecedence parseDominates() | |
| parseDottedIdentifier | back to summary |
|---|---|
| public List | |
| parseDottedNamePattern | back to summary |
|---|---|
| public List | |
| parseErrorOrWarning | back to summary |
|---|---|
| private Declare parseErrorOrWarning(boolean isError) Attempt to parse a pointcut, if that fails then try again for a type pattern.
| |
| parseFieldSignaturePattern | back to summary |
|---|---|
| public SignaturePattern parseFieldSignaturePattern() | |
| parseGenericsWildcardTypePattern | back to summary |
|---|---|
| public TypePattern parseGenericsWildcardTypePattern() | |
| parseHasFieldTypePattern | back to summary |
|---|---|
| public TypePattern parseHasFieldTypePattern() | |
| parseHasMethodTypePattern | back to summary |
|---|---|
| public TypePattern parseHasMethodTypePattern() | |
| parseIdentifier | back to summary |
|---|---|
| public String parseIdentifier() | |
| parseIsTypePattern | back to summary |
|---|---|
| public TypePattern parseIsTypePattern() Attempt to parse a typeIs(<category>) construct. If it cannot be parsed we just return null and that should cause the caller to reset their position and attempt to consume it in another way. This means we won't have problems here: execution(* typeIs(..)) because someone has decided to call a method the same as our construct.
| |
| parseKindedPointcut | back to summary |
|---|---|
| private KindedPointcut parseKindedPointcut(String kind) | |
| parseMaybeParenthesizedFieldSignaturePattern | back to summary |
|---|---|
| public ISignaturePattern parseMaybeParenthesizedFieldSignaturePattern() | |
| parseMaybeParenthesizedMethodOrConstructorSignaturePattern | back to summary |
|---|---|
| public ISignaturePattern parseMaybeParenthesizedMethodOrConstructorSignaturePattern(boolean isMethod) | |
| parseMethodOrConstructorSignaturePattern | back to summary |
|---|---|
| public SignaturePattern parseMethodOrConstructorSignaturePattern() | |
| parseModifiersPattern | back to summary |
|---|---|
| public ModifiersPattern parseModifiersPattern() | |
| parseMonitorPointcut | back to summary |
|---|---|
| private KindedPointcut parseMonitorPointcut(String kind) Covers the 'lock()' and 'unlock()' pointcuts | |
| parseNamePattern | back to summary |
|---|---|
| public NamePattern parseNamePattern() | |
| parseNotOrPointcut | back to summary |
|---|---|
| private Pointcut parseNotOrPointcut() | |
| parseNotOrTypePattern | back to summary |
|---|---|
| private TypePattern parseNotOrTypePattern(boolean insideTypeParameters, boolean parameterAnnotationsPossible) | |
| parseOptionalThrowsPattern | back to summary |
|---|---|
| public ThrowsPattern parseOptionalThrowsPattern() | |
| parseParents | back to summary |
|---|---|
| private Declare parseParents() | |
| parsePerCflow | back to summary |
|---|---|
| private PerClause parsePerCflow(boolean isBelow) | |
| parsePerObject | back to summary |
|---|---|
| private PerClause parsePerObject(boolean isThis) | |
| parsePerSingleton | back to summary |
|---|---|
| private PerClause parsePerSingleton() | |
| parsePerTypeWithin | back to summary |
|---|---|
| private PerClause parsePerTypeWithin() | |
| parsePointcut | back to summary |
|---|---|
| public Pointcut parsePointcut(boolean shouldConsumeAllInput) | |
| parsePointcut | back to summary |
|---|---|
| public Pointcut parsePointcut() | |
| parsePossibleStringSequence | back to summary |
|---|---|
| public String parsePossibleStringSequence(boolean shouldEnd) | |
| parseReferencePointcut | back to summary |
|---|---|
| private Pointcut parseReferencePointcut() | |
| parseSimpleAnnotationName | back to summary |
|---|---|
| private ExactAnnotationTypePattern parseSimpleAnnotationName() | |
| parseSinglePointcut | back to summary |
|---|---|
| public Pointcut parseSinglePointcut() | |
| parseSingleTypePattern | back to summary |
|---|---|
| public TypePattern parseSingleTypePattern() | |
| parseSingleTypePattern | back to summary |
|---|---|
| public TypePattern parseSingleTypePattern(boolean insideTypeParameters) | |
| parseSoft | back to summary |
|---|---|
| private Declare parseSoft() | |
| parseStringLiteral | back to summary |
|---|---|
| public String parseStringLiteral() | |
| parseThisOrTargetAnnotationPointcut | back to summary |
|---|---|
| private Pointcut parseThisOrTargetAnnotationPointcut() | |
| parseThisOrTargetPointcut | back to summary |
|---|---|
| private Pointcut parseThisOrTargetPointcut(String kind) Method parseThisOrTargetPointcut.
| |
| parseTypePattern | back to summary |
|---|---|
| public TypePattern parseTypePattern() | |
| parseTypePattern | back to summary |
|---|---|
| public TypePattern parseTypePattern(boolean insideTypeParameters, boolean parameterAnnotationsPossible) | |
| parseTypeVariable | back to summary |
|---|---|
| public TypeVariablePattern parseTypeVariable() | |
| parseWithinAnnotationPointcut | back to summary |
|---|---|
| private Pointcut parseWithinAnnotationPointcut() | |
| parseWithinCodeAnnotationPointcut | back to summary |
|---|---|
| private Pointcut parseWithinCodeAnnotationPointcut() | |
| parseWithinCodePointcut | back to summary |
|---|---|
| private Pointcut parseWithinCodePointcut() | |
| parseWithinPointcut | back to summary |
|---|---|
| private Pointcut parseWithinPointcut() Method parseWithinPointcut.
| |
| peek | back to summary |
|---|---|
| public boolean peek(String token) | |
| setAnnotationPatternForTypePattern | back to summary |
|---|---|
| private TypePattern setAnnotationPatternForTypePattern(TypePattern t, AnnotationTypePattern ap, boolean parameterAnnotationsPattern) | |
| setPointcutDesignatorHandlers | back to summary |
|---|---|
| public void setPointcutDesignatorHandlers(Set<PointcutDesignatorHandler> handlers, World world) only used by weaver tools API | |
| tryToExtractName | back to summary |
|---|---|
| private NamePattern tryToExtractName(TypePattern nextType) | |