Class DeclareParentsMixin
java.lang.Object
org.aspectj.weaver.patterns.PatternNode
org.aspectj.weaver.patterns.Declare
org.aspectj.weaver.patterns.DeclareParents
org.aspectj.weaver.patterns.DeclareParentsMixin
- All Implemented Interfaces:
IHasPosition, IHasSourceLocation
Constructed based on an @DeclareMixin being found in an aspect.
- Author:
- Andy Clement
-
Field Summary
Fields inherited from class DeclareParents
child, isExtends, parentsFields inherited from class Declare
ANNOTATION, DOMINATES, ERROR_OR_WARNING, PARENTS, PARENTSMIXIN, SOFT, TYPE_ERROR_OR_WARNINGFields inherited from class PatternNode
end, sourceContext, start -
Constructor Summary
ConstructorsConstructorDescriptionDeclareParentsMixin(TypePattern child, List parents) DeclareParentsMixin(TypePattern child, TypePatternList parents) -
Method Summary
Modifier and TypeMethodDescriptionbooleaninthashCode()booleanisMixin()static Declareread(VersionedDataInputStream s, ISourceContext context) toString()voidMethods inherited from class DeclareParents
accept, findMatchingNewParents, getChild, getNameSuffix, getParents, isAdviceLike, isExtends, match, parameterizeWith, parentsIncludeClass, parentsIncludeInterface, resolve, traverseMethods inherited from class Declare
getDeclaringType, setDeclaringTypeMethods inherited from class PatternNode
copyLocationFrom, getEnd, getFileName, getSourceContext, getSourceLocation, getStart, readLocation, setLocation, writeLocation
-
Constructor Details
-
DeclareParentsMixin
-
DeclareParentsMixin
-
-
Method Details
-
equals
- Overrides:
equalsin classDeclareParents
-
hashCode
public int hashCode()- Overrides:
hashCodein classDeclareParents
-
write
- Overrides:
writein classDeclareParents- Throws:
IOException
-
read
- Throws:
IOException
-
toString
- Overrides:
toStringin classDeclareParents
-
isMixin
public boolean isMixin()- Overrides:
isMixinin classDeclareParents
-