![JAR search and dependency download from the Maven repository](/logo.png)
org.eclipse.elk.graph.impl.ElkEdgeImpl.class Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of plantuml Show documentation
Show all versions of plantuml Show documentation
PlantUML is a component that allows to quickly write :
* sequence diagram,
* use case diagram,
* class diagram,
* activity diagram,
* component diagram,
* state diagram
* object diagram
???? 7M &org/eclipse/elk/graph/impl/ElkEdgeImpl .org/eclipse/elk/graph/impl/ElkGraphElementImpl org/eclipse/elk/graph/ElkEdge sources #Lorg/eclipse/emf/common/util/EList; Signature PLorg/eclipse/emf/common/util/EList; targets sections KLorg/eclipse/emf/common/util/EList; HYPEREDGE_EDEFAULT Z
ConstantValue HIERARCHICAL_EDEFAULT SELFLOOP_EDEFAULT CONNECTED_EDEFAULT ()V Code
LineNumberTable LocalVariableTable this (Lorg/eclipse/elk/graph/impl/ElkEdgeImpl; eStaticClass ()Lorg/eclipse/emf/ecore/EClass; ! # " .org/eclipse/elk/graph/ElkGraphPackage$Literals $ % ELK_EDGE Lorg/eclipse/emf/ecore/EClass; getContainingNode !()Lorg/eclipse/elk/graph/ElkNode;
) * + eContainerFeatureID ()I
- . / eInternalContainer )()Lorg/eclipse/emf/ecore/InternalEObject; 1 org/eclipse/elk/graph/ElkNode
StackMapTable basicSetContainingNode ?(Lorg/eclipse/elk/graph/ElkNode;Lorg/eclipse/emf/common/notify/NotificationChain;)Lorg/eclipse/emf/common/notify/NotificationChain; 6 %org/eclipse/emf/ecore/InternalEObject
8 9 : eBasicSetContainer ?(Lorg/eclipse/emf/ecore/InternalEObject;ILorg/eclipse/emf/common/notify/NotificationChain;)Lorg/eclipse/emf/common/notify/NotificationChain; newContainingNode Lorg/eclipse/elk/graph/ElkNode; msgs 1Lorg/eclipse/emf/common/notify/NotificationChain; setContainingNode "(Lorg/eclipse/elk/graph/ElkNode;)V
B D C $org/eclipse/emf/ecore/util/EcoreUtil E F
isAncestor A(Lorg/eclipse/emf/ecore/EObject;Lorg/eclipse/emf/ecore/EObject;)Z H "java/lang/IllegalArgumentException J java/lang/StringBuilder L &Recursive containment not allowed for
I N O (Ljava/lang/String;)V
Q R S toString ()Ljava/lang/String;
I U V W append -(Ljava/lang/String;)Ljava/lang/StringBuilder;
I Q
G N
[ \ ] eBasicRemoveFromContainer d(Lorg/eclipse/emf/common/notify/NotificationChain;)Lorg/eclipse/emf/common/notify/NotificationChain; 5 _ ` a eInverseAdd ?(Lorg/eclipse/emf/ecore/InternalEObject;ILjava/lang/Class;Lorg/eclipse/emf/common/notify/NotificationChain;)Lorg/eclipse/emf/common/notify/NotificationChain;
c 3 4 e g f /org/eclipse/emf/common/notify/NotificationChain h dispatch
j k l eNotificationRequired ()Z n ,org/eclipse/emf/ecore/impl/ENotificationImpl
m p q P(Lorg/eclipse/emf/ecore/InternalEObject;IILjava/lang/Object;Ljava/lang/Object;)V
s t u eNotify /(Lorg/eclipse/emf/common/notify/Notification;)V
getSources %()Lorg/eclipse/emf/common/util/EList; R()Lorg/eclipse/emf/common/util/EList; z | Gorg/eclipse/emf/ecore/util/EObjectWithInverseResolvingEList$ManyInverse ~ )org/eclipse/elk/graph/ElkConnectableShape
{ ? ? =(Ljava/lang/Class;Lorg/eclipse/emf/ecore/InternalEObject;II)V
getTargets ? getSections M()Lorg/eclipse/emf/common/util/EList; ? ? =org/eclipse/emf/ecore/util/EObjectContainmentWithInverseEList ? $org/eclipse/elk/graph/ElkEdgeSection
? ? isHyperedge
? v w ? ? ? !org/eclipse/emf/common/util/EList ? + size
? ? w isHierarchical
? ? ? 'org/eclipse/elk/graph/util/ElkGraphUtil ? ? allIncidentShapes 5(Lorg/eclipse/elk/graph/ElkEdge;)Ljava/lang/Iterable; ? ? ? java/lang/Iterable ? ? iterator ()Ljava/util/Iterator; ? ? ? java/util/Iterator ? ? next ()Ljava/lang/Object;
? ? ? ? connectableShapeToNode L(Lorg/eclipse/elk/graph/ElkConnectableShape;)Lorg/eclipse/elk/graph/ElkNode; 0 ? ? ' getParent ? ? ? l hasNext commonRepresentingNode
incidentShape +Lorg/eclipse/elk/graph/ElkConnectableShape; shapeNode
isSelfloop
commonNode isConnected ? ? ? l isEmpty ? (org/eclipse/emf/ecore/util/InternalEList ? ? ? ? basicAdd v(Ljava/lang/Object;Lorg/eclipse/emf/common/notify/NotificationChain;)Lorg/eclipse/emf/common/notify/NotificationChain;
? ? w
? ` : otherEnd 'Lorg/eclipse/emf/ecore/InternalEObject; featureID I eInverseRemove ? ? ? ? basicRemove
? ? : eBasicRemoveFromContainerFeature 5 ? ? a
? ? ] eGet (IZZ)Ljava/lang/Object;
? &