Package org.aspectj.asm.internal
Class Relationship
java.lang.Object
org.aspectj.asm.internal.Relationship
- All Implemented Interfaces:
Serializable,IRelationship
- Author:
- Mik Kersten, Andy Clement
- See Also:
- Serialized Form
-
Nested Class Summary
Nested classes/interfaces inherited from interface org.aspectj.asm.IRelationship
IRelationship.Kind -
Constructor Summary
ConstructorsConstructorDescriptionRelationship(String name, IRelationship.Kind kind, String sourceHandle, List<String> targets, boolean runtimeTest) -
Method Summary
-
Constructor Details
-
Relationship
public Relationship(String name, IRelationship.Kind kind, String sourceHandle, List<String> targets, boolean runtimeTest)
-
-
Method Details
-
getName
- Specified by:
getNamein interfaceIRelationship
-
getKind
- Specified by:
getKindin interfaceIRelationship
-
toString
-
getSourceHandle
- Specified by:
getSourceHandlein interfaceIRelationship
-
getTargets
- Specified by:
getTargetsin interfaceIRelationship
-
addTarget
- Specified by:
addTargetin interfaceIRelationship
-
hasRuntimeTest
public boolean hasRuntimeTest()- Specified by:
hasRuntimeTestin interfaceIRelationship
-
isAffects
public boolean isAffects()Return the direction of the relationship. It might be affects or affected-by. The direction enables the incremental model repair code to do the right thing.- Specified by:
isAffectsin interfaceIRelationship- Returns:
- true if is an affects relationship: advises/declareson/softens/matchedby/declaredon/annotates
-