Top Fields Constructors Methods
org.aspectj.asm.internal

public Class Relationship

extends Object
implements IRelationship
Class Inheritance
All Implemented Interfaces
org.aspectj.asm.IRelationship, java.io.Serializable
Imports
java.util.List, org.aspectj.asm.IRelationship

Authors
Mik Kersten, Andy Clement

Field Summary

Modifier and TypeField and Description
private boolean
private boolean
private IRelationship.Kind
private String
private static final long
private String
private List<String>

Constructor Summary

AccessConstructor and Description
public
Relationship(String name, IRelationship.Kind kind, String sourceHandle, List<String> targets, boolean runtimeTest)

Method Summary

Modifier and TypeMethod and Description
public void
public IRelationship.Kind
public String
public String
public List<String>
public boolean
public boolean

Returns:

true if is an affects relationship: advises/declareson/softens/matchedby/declaredon/annotates
isAffects
()

Implements org.aspectj.asm.IRelationship.isAffects.

Return the direction of the relationship.
public String
toString()

Overrides java.lang.Object.toString.

Returns a string representation of the object.
Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAllwaitwaitwait

Field Detail

hasRuntimeTestback to summary
private boolean hasRuntimeTest
isAffectsback to summary
private boolean isAffects
kindback to summary
private IRelationship.Kind kind
nameback to summary
private String name
serialVersionUIDback to summary
private static final long serialVersionUID
sourceHandleback to summary
private String sourceHandle
targetsback to summary
private List<String> targets

Constructor Detail

Relationshipback to summary
public Relationship(String name, IRelationship.Kind kind, String sourceHandle, List<String> targets, boolean runtimeTest)

Method Detail

addTargetback to summary
public void addTarget(String handle)

Implements org.aspectj.asm.IRelationship.addTarget.

getKindback to summary
public IRelationship.Kind getKind()

Implements org.aspectj.asm.IRelationship.getKind.

getNameback to summary
public String getName()

Implements org.aspectj.asm.IRelationship.getName.

getSourceHandleback to summary
public String getSourceHandle()

Implements org.aspectj.asm.IRelationship.getSourceHandle.

getTargetsback to summary
public List<String> getTargets()

Implements org.aspectj.asm.IRelationship.getTargets.

hasRuntimeTestback to summary
public boolean hasRuntimeTest()

Implements org.aspectj.asm.IRelationship.hasRuntimeTest.

isAffectsback to summary
public boolean isAffects()

Implements org.aspectj.asm.IRelationship.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.

Returns:boolean

true if is an affects relationship: advises/declareson/softens/matchedby/declaredon/annotates

toStringback to summary
public String toString()

Overrides java.lang.Object.toString.

Doc from java.lang.Object.toString.

Returns a string representation of the object.

Returns:String

a string representation of the object.