Package org.aspectj.weaver.patterns
Class Declare
- java.lang.Object
-
- org.aspectj.weaver.patterns.PatternNode
-
- org.aspectj.weaver.patterns.Declare
-
- All Implemented Interfaces:
IHasPosition,IHasSourceLocation
- Direct Known Subclasses:
DeclareAnnotation,DeclareErrorOrWarning,DeclareParents,DeclarePrecedence,DeclareSoft,DeclareTypeErrorOrWarning
public abstract class Declare extends PatternNode
-
-
Field Summary
Fields Modifier and Type Field Description static byteANNOTATIONstatic byteDOMINATESstatic byteERROR_OR_WARNINGstatic bytePARENTSstatic bytePARENTSMIXINstatic byteSOFTstatic byteTYPE_ERROR_OR_WARNING-
Fields inherited from class org.aspectj.weaver.patterns.PatternNode
end, sourceContext, start
-
-
Constructor Summary
Constructors Constructor Description Declare()
-
Method Summary
All Methods Static Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description ResolvedTypegetDeclaringType()abstract StringgetNameSuffix()abstract booleanisAdviceLike()abstract DeclareparameterizeWith(Map<String,UnresolvedType> typeVariableBindingMap, World w)static Declareread(VersionedDataInputStream s, ISourceContext context)abstract voidresolve(IScope scope)voidsetDeclaringType(ResolvedType aType)-
Methods inherited from class org.aspectj.weaver.patterns.PatternNode
accept, copyLocationFrom, getEnd, getFileName, getSourceContext, getSourceLocation, getStart, readLocation, setLocation, traverse, write, writeLocation
-
-
-
-
Field Detail
-
ERROR_OR_WARNING
public static final byte ERROR_OR_WARNING
- See Also:
- Constant Field Values
-
PARENTS
public static final byte PARENTS
- See Also:
- Constant Field Values
-
SOFT
public static final byte SOFT
- See Also:
- Constant Field Values
-
DOMINATES
public static final byte DOMINATES
- See Also:
- Constant Field Values
-
ANNOTATION
public static final byte ANNOTATION
- See Also:
- Constant Field Values
-
PARENTSMIXIN
public static final byte PARENTSMIXIN
- See Also:
- Constant Field Values
-
TYPE_ERROR_OR_WARNING
public static final byte TYPE_ERROR_OR_WARNING
- See Also:
- Constant Field Values
-
-
Method Detail
-
read
public static Declare read(VersionedDataInputStream s, ISourceContext context) throws IOException
- Throws:
IOException
-
resolve
public abstract void resolve(IScope scope)
-
parameterizeWith
public abstract Declare parameterizeWith(Map<String,UnresolvedType> typeVariableBindingMap, World w)
-
isAdviceLike
public abstract boolean isAdviceLike()
-
getNameSuffix
public abstract String getNameSuffix()
-
setDeclaringType
public void setDeclaringType(ResolvedType aType)
-
getDeclaringType
public ResolvedType getDeclaringType()
-
-