Package org.aspectj.weaver.patterns
Klasse Declare
java.lang.Object
org.aspectj.weaver.patterns.PatternNode
org.aspectj.weaver.patterns.Declare
- Alle implementierten Schnittstellen:
IHasPosition
,IHasSourceLocation
- Bekannte direkte Unterklassen:
DeclareAnnotation
,DeclareErrorOrWarning
,DeclareParents
,DeclarePrecedence
,DeclareSoft
,DeclareTypeErrorOrWarning
-
Feldübersicht
Modifizierer und TypFeldBeschreibungstatic final byte
static final byte
static final byte
static final byte
static final byte
static final byte
static final byte
Von Klasse geerbte Felder org.aspectj.weaver.patterns.PatternNode
end, sourceContext, start
-
Konstruktorübersicht
-
Methodenübersicht
Modifizierer und TypMethodeBeschreibungabstract String
Declares have methods in the .class file against which info can be stored (for example, the annotation in the case of declare annotation).abstract boolean
Indicates if this declare should be treated like advice.abstract Declare
parameterizeWith
(Map<String, UnresolvedType> typeVariableBindingMap, World w) Returns a version of this declare element in which all references to type variables are replaced with their bindings given in the map.static Declare
read
(VersionedDataInputStream s, ISourceContext context) abstract void
Returns this declare mutatedvoid
setDeclaringType
(ResolvedType aType) Von Klasse geerbte Methoden org.aspectj.weaver.patterns.PatternNode
accept, copyLocationFrom, getEnd, getFileName, getSourceContext, getSourceLocation, getStart, readLocation, setLocation, traverse, write, writeLocation
-
Felddetails
-
ERROR_OR_WARNING
public static final byte ERROR_OR_WARNING- Siehe auch:
-
PARENTS
public static final byte PARENTS- Siehe auch:
-
SOFT
public static final byte SOFT- Siehe auch:
-
DOMINATES
public static final byte DOMINATES- Siehe auch:
-
ANNOTATION
public static final byte ANNOTATION- Siehe auch:
-
PARENTSMIXIN
public static final byte PARENTSMIXIN- Siehe auch:
-
TYPE_ERROR_OR_WARNING
public static final byte TYPE_ERROR_OR_WARNING- Siehe auch:
-
-
Konstruktordetails
-
Declare
public Declare()
-
-
Methodendetails
-
read
- Löst aus:
IOException
-
resolve
Returns this declare mutated -
parameterizeWith
public abstract Declare parameterizeWith(Map<String, UnresolvedType> typeVariableBindingMap, World w) Returns a version of this declare element in which all references to type variables are replaced with their bindings given in the map. -
isAdviceLike
public abstract boolean isAdviceLike()Indicates if this declare should be treated like advice. If true, the declare will have no effect in an abstract aspect. It will be inherited by any concrete aspects and will have an effect for each concrete aspect it is ultimately inherited by. -
getNameSuffix
Declares have methods in the .class file against which info can be stored (for example, the annotation in the case of declare annotation). The name is of the form ajc$declare_XXX_NNN where XXX can optionally be set in this 'getNameSuffix()' method - depending on whether, at weave time, we want to easily differentiate between the declare methods. -
setDeclaringType
-
getDeclaringType
-