Package org.aspectj.weaver.patterns
Class DeclareTypeErrorOrWarning
- java.lang.Object
-
- org.aspectj.weaver.patterns.PatternNode
-
- org.aspectj.weaver.patterns.Declare
-
- org.aspectj.weaver.patterns.DeclareTypeErrorOrWarning
-
- All Implemented Interfaces:
IHasPosition,IHasSourceLocation
public class DeclareTypeErrorOrWarning extends Declare
-
-
Field Summary
-
Fields inherited from class org.aspectj.weaver.patterns.Declare
ANNOTATION, DOMINATES, ERROR_OR_WARNING, PARENTS, PARENTSMIXIN, SOFT, TYPE_ERROR_OR_WARNING
-
Fields inherited from class org.aspectj.weaver.patterns.PatternNode
end, sourceContext, start
-
-
Constructor Summary
Constructors Constructor Description DeclareTypeErrorOrWarning(boolean isError, TypePattern typePattern, String message)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description Objectaccept(PatternNodeVisitor visitor, Object data)booleanequals(Object other)StringgetMessage()StringgetName()StringgetNameSuffix()TypePatterngetTypePattern()inthashCode()booleanisAdviceLike()booleanisError()DeclareparameterizeWith(Map typeVariableBindingMap, World w)static Declareread(VersionedDataInputStream s, ISourceContext context)voidresolve(IScope scope)StringtoString()voidwrite(CompressingDataOutputStream s)-
Methods inherited from class org.aspectj.weaver.patterns.Declare
getDeclaringType, setDeclaringType
-
Methods inherited from class org.aspectj.weaver.patterns.PatternNode
copyLocationFrom, getEnd, getFileName, getSourceContext, getSourceLocation, getStart, readLocation, setLocation, traverse, writeLocation
-
-
-
-
Constructor Detail
-
DeclareTypeErrorOrWarning
public DeclareTypeErrorOrWarning(boolean isError, TypePattern typePattern, String message)
-
-
Method Detail
-
accept
public Object accept(PatternNodeVisitor visitor, Object data)
- Specified by:
acceptin classPatternNode
-
write
public void write(CompressingDataOutputStream s) throws IOException
- Specified by:
writein classPatternNode- Throws:
IOException
-
read
public static Declare read(VersionedDataInputStream s, ISourceContext context) throws IOException
- Throws:
IOException
-
isError
public boolean isError()
-
getMessage
public String getMessage()
-
getTypePattern
public TypePattern getTypePattern()
-
parameterizeWith
public Declare parameterizeWith(Map typeVariableBindingMap, World w)
- Specified by:
parameterizeWithin classDeclare
-
isAdviceLike
public boolean isAdviceLike()
- Specified by:
isAdviceLikein classDeclare
-
getNameSuffix
public String getNameSuffix()
- Specified by:
getNameSuffixin classDeclare
-
getName
public String getName()
-
-