Package org.aspectj.weaver.model
Klasse AsmRelationshipUtils
java.lang.Object
org.aspectj.weaver.model.AsmRelationshipUtils
Provides utility methods for generating details for IProgramElements used when creating the model both from source (via
AsmElementFormatter.visit(..)) and when filling in the model for binary aspects (via AsmRelationshipProvider bug 145963)
-
Feldübersicht
-
Konstruktorübersicht
-
Methodenübersicht
Modifizierer und TypMethodeBeschreibungstatic String
genDeclareMessage
(String message) Generates the declare message used in the details, for example if the declare warning statement has message "There should be no printlns" will return 'declare warning: "There should be n.."'static String
Generates the pointcut details for the given pointcut, for example an anonymous pointcut will return '<anonymous pointcut>' and a named pointcut called p() will return 'p()..'
-
Felddetails
-
DECLARE_PRECEDENCE
- Siehe auch:
-
DECLARE_SOFT
- Siehe auch:
-
DECLARE_PARENTS
- Siehe auch:
-
DECLARE_WARNING
- Siehe auch:
-
DECLARE_ERROR
- Siehe auch:
-
DECLARE_UNKNONWN
- Siehe auch:
-
POINTCUT_ABSTRACT
- Siehe auch:
-
POINTCUT_ANONYMOUS
- Siehe auch:
-
DOUBLE_DOTS
- Siehe auch:
-
MAX_MESSAGE_LENGTH
public static final int MAX_MESSAGE_LENGTH- Siehe auch:
-
DEC_LABEL
- Siehe auch:
-
-
Konstruktordetails
-
AsmRelationshipUtils
public AsmRelationshipUtils()
-
-
Methodendetails
-
genDeclareMessage
Generates the declare message used in the details, for example if the declare warning statement has message "There should be no printlns" will return 'declare warning: "There should be n.."' -
genPointcutDetails
Generates the pointcut details for the given pointcut, for example an anonymous pointcut will return '<anonymous pointcut>' and a named pointcut called p() will return 'p()..'
-