Package org.eclipse.m2m.atl.emftvm.impl
Class LocalVariableImpl
java.lang.Object
org.eclipse.emf.common.notify.impl.BasicNotifierImpl
org.eclipse.emf.ecore.impl.BasicEObjectImpl
org.eclipse.emf.ecore.impl.EObjectImpl
org.eclipse.m2m.atl.emftvm.impl.NamedElementImpl
org.eclipse.m2m.atl.emftvm.impl.TypedElementImpl
org.eclipse.m2m.atl.emftvm.impl.LocalVariableImpl
- All Implemented Interfaces:
org.eclipse.emf.common.notify.Notifier,org.eclipse.emf.ecore.EObject,org.eclipse.emf.ecore.InternalEObject,LocalVariable,NamedElement,TypedElement
An implementation of the model object 'Local Variable'.
-
Nested Class Summary
Nested classes/interfaces inherited from class org.eclipse.emf.ecore.impl.BasicEObjectImpl
org.eclipse.emf.ecore.impl.BasicEObjectImpl.EPropertiesHolder, org.eclipse.emf.ecore.impl.BasicEObjectImpl.EPropertiesHolderBaseImpl, org.eclipse.emf.ecore.impl.BasicEObjectImpl.EPropertiesHolderImplNested classes/interfaces inherited from class org.eclipse.emf.common.notify.impl.BasicNotifierImpl
org.eclipse.emf.common.notify.impl.BasicNotifierImpl.EAdapterList<E extends Object & org.eclipse.emf.common.notify.Adapter>, org.eclipse.emf.common.notify.impl.BasicNotifierImpl.EObservableAdapterList, org.eclipse.emf.common.notify.impl.BasicNotifierImpl.EScannableAdapterListNested classes/interfaces inherited from interface org.eclipse.emf.ecore.InternalEObject
org.eclipse.emf.ecore.InternalEObject.EStore -
Field Summary
FieldsModifier and TypeFieldDescriptionprotected static final intThe default value of the 'End Instruction Index' attribute.protected InstructionThe cached value of the 'End Instruction' reference.protected intThe cached value of the 'End Instruction Index' attribute.protected intThe cached value of the 'Slot' attribute.protected static final intThe default value of the 'Slot' attribute.protected static final intThe default value of the 'Start Instruction Index' attribute.protected InstructionThe cached value of the 'Start Instruction' reference.protected intThe cached value of the 'Start Instruction Index' attribute.Fields inherited from class org.eclipse.m2m.atl.emftvm.impl.TypedElementImpl
eType, type, TYPE_EDEFAULT, TYPE_MODEL_EDEFAULT, typeModelFields inherited from class org.eclipse.m2m.atl.emftvm.impl.NamedElementImpl
name, NAME_EDEFAULTFields inherited from class org.eclipse.emf.ecore.impl.EObjectImpl
eAdapters, eContainer, eContainerFeatureID, EDELIVER, EDYNAMIC_CLASS, eFlags, ELAST_EOBJECT_FLAG, ELAST_NOTIFIER_FLAG, eProperties, EPROXYFields inherited from class org.eclipse.emf.ecore.impl.BasicEObjectImpl
EVIRTUAL_GET, EVIRTUAL_IS_SET, EVIRTUAL_NO_VALUE, EVIRTUAL_SET, EVIRTUAL_UNSETFields inherited from interface org.eclipse.emf.ecore.InternalEObject
EOPPOSITE_FEATURE_BASE -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionorg.eclipse.emf.common.notify.NotificationChainbasicSetOwningBlock(CodeBlock newOwningBlock, org.eclipse.emf.common.notify.NotificationChain msgs) org.eclipse.emf.common.notify.NotificationChaineBasicRemoveFromContainerFeature(org.eclipse.emf.common.notify.NotificationChain msgs) eGet(int featureID, boolean resolve, boolean coreType) org.eclipse.emf.common.notify.NotificationChaineInverseAdd(org.eclipse.emf.ecore.InternalEObject otherEnd, int featureID, org.eclipse.emf.common.notify.NotificationChain msgs) org.eclipse.emf.common.notify.NotificationChaineInverseRemove(org.eclipse.emf.ecore.InternalEObject otherEnd, int featureID, org.eclipse.emf.common.notify.NotificationChain msgs) booleaneIsSet(int featureID) voidprotected org.eclipse.emf.ecore.EClassReturns theEClassthat correspond to this metaclass.voideUnset(int featureID) Returns the value of the 'End Instruction' reference.intReturns the value of the 'End Instruction Index' attribute.Returns the value of the 'Owning Block' container reference.intgetSlot()Returns the value of the 'Slot' attribute.Returns the value of the 'Start Instruction' reference.intReturns the value of the 'Start Instruction Index' attribute.voidsetEndInstruction(Instruction newEndInstruction) Sets the value of the 'End Instruction' reference.voidsetEndInstructionIndex(int newEndInstructionIndex) Sets the value of the 'End Instruction Index' attribute.voidsetOwningBlock(CodeBlock newOwningBlock) Sets the value of the 'Owning Block' container reference.voidsetSlot(int newSlot) Sets the value of the 'Slot' attribute.voidsetStartInstruction(Instruction newStartInstruction) Sets the value of the 'Start Instruction' reference.voidsetStartInstructionIndex(int newStartInstructionIndex) Sets the value of the 'Start Instruction Index' attribute.toString()Methods inherited from class org.eclipse.m2m.atl.emftvm.impl.TypedElementImpl
basicGetEType, getEType, getType, getTypeModel, setEType, setType, setTypeModelMethods inherited from class org.eclipse.m2m.atl.emftvm.impl.NamedElementImpl
getName, setNameMethods inherited from class org.eclipse.emf.ecore.impl.EObjectImpl
eAdapters, eBasicAdapters, eBasicProperties, eBasicSetContainer, eClass, eContainerFeatureID, eDeliver, eInternalContainer, eInvoke, eIsProxy, eProperties, eSetClass, eSetDeliver, eSetProxyURIMethods inherited from class org.eclipse.emf.ecore.impl.BasicEObjectImpl
eAddVirtualValue, eAllContents, eBaseStructuralFeatureID, eBasicRemoveFromContainer, eBasicSetContainer, eComputeVirtualValuesCapacity, eContainer, eContainerAdapterArray, eContainingFeature, eContainmentFeature, eContainmentFeature, eContains, eContents, eCrossReferences, eDerivedOperationID, eDerivedOperationID, eDerivedStructuralFeatureID, eDerivedStructuralFeatureID, eDirectResource, eDynamicBasicRemoveFromContainer, eDynamicClass, eDynamicFeature, eDynamicFeatureID, eDynamicGet, eDynamicGet, eDynamicGet, eDynamicInverseAdd, eDynamicInverseAdd, eDynamicInverseRemove, eDynamicInverseRemove, eDynamicInvoke, eDynamicInvoke, eDynamicIsSet, eDynamicIsSet, eDynamicIsSet, eDynamicSet, eDynamicSet, eDynamicSet, eDynamicUnset, eDynamicUnset, eDynamicUnset, eGet, eGet, eGet, eHasSettings, eInternalResource, eInverseAdd, eInverseRemove, eInvocationDelegate, eInvoke, eIsSet, eObjectForURIFragmentSegment, eOpenGet, eOpenIsSet, eOpenSet, eOpenUnset, eProxyURI, eRemoveVirtualValue, eResolveProxy, eResource, eSet, eSetDirectResource, eSetResource, eSetStore, eSetting, eSettingDelegate, eSettings, eSetVirtualIndexBits, eSetVirtualValue, eSetVirtualValues, eStaticFeatureCount, eStaticOperationCount, eStore, eUnset, eURIFragmentSegment, eVirtualBitCount, eVirtualGet, eVirtualGet, eVirtualIndex, eVirtualIndexBits, eVirtualIsSet, eVirtualSet, eVirtualUnset, eVirtualValue, eVirtualValuesMethods inherited from class org.eclipse.emf.common.notify.impl.BasicNotifierImpl
eBasicAdapterArray, eBasicHasAdapters, eNotificationRequired, eNotifyMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface org.eclipse.emf.ecore.EObject
eAllContents, eClass, eContainer, eContainingFeature, eContainmentFeature, eContents, eCrossReferences, eGet, eGet, eInvoke, eIsProxy, eIsSet, eResource, eSet, eUnsetMethods inherited from interface org.eclipse.emf.ecore.InternalEObject
eNotificationRequiredMethods inherited from interface org.eclipse.m2m.atl.emftvm.NamedElement
getName, setNameMethods inherited from interface org.eclipse.emf.common.notify.Notifier
eAdapters, eDeliver, eNotify, eSetDeliverMethods inherited from interface org.eclipse.m2m.atl.emftvm.TypedElement
getEType, getType, getTypeModel, setEType, setType, setTypeModel
-
Field Details
-
SLOT_EDEFAULT
protected static final int SLOT_EDEFAULTThe default value of the 'Slot' attribute.- See Also:
-
slot
protected int slotThe cached value of the 'Slot' attribute.- See Also:
-
startInstruction
The cached value of the 'Start Instruction' reference.- See Also:
-
endInstruction
The cached value of the 'End Instruction' reference.- See Also:
-
START_INSTRUCTION_INDEX_EDEFAULT
protected static final int START_INSTRUCTION_INDEX_EDEFAULTThe default value of the 'Start Instruction Index' attribute.- See Also:
-
END_INSTRUCTION_INDEX_EDEFAULT
protected static final int END_INSTRUCTION_INDEX_EDEFAULTThe default value of the 'End Instruction Index' attribute.- See Also:
-
startInstructionIndex
protected int startInstructionIndexThe cached value of the 'Start Instruction Index' attribute.- See Also:
-
endInstructionIndex
protected int endInstructionIndexThe cached value of the 'End Instruction Index' attribute.- See Also:
-
-
Constructor Details
-
LocalVariableImpl
protected LocalVariableImpl()Creates a newLocalVariableImpl.
-
-
Method Details
-
eStaticClass
protected org.eclipse.emf.ecore.EClass eStaticClass()Returns theEClassthat correspond to this metaclass.- Overrides:
eStaticClassin classTypedElementImpl- Returns:
- the
EClassthat correspond to this metaclass.
-
getSlot
public int getSlot()Returns the value of the 'Slot' attribute. The default value is"-1".Automatically assigns a free slot for local variables without a slot. Verifies that previous overlapping local variables have a unique slot. Attempts to reuse free slots.
- Specified by:
getSlotin interfaceLocalVariable- Returns:
- the value of the 'Slot' attribute.
- See Also:
-
setSlot
public void setSlot(int newSlot) Sets the value of the 'Slot' attribute.- Specified by:
setSlotin interfaceLocalVariable- Parameters:
newSlot- the new value of the 'Slot' attribute.- See Also:
-
getStartInstruction
Returns the value of the 'Start Instruction' reference.If the meaning of the 'Start Instruction' attribute isn't clear, there really should be more of a description here...
- Specified by:
getStartInstructionin interfaceLocalVariable- Returns:
- the value of the 'Start Instruction' reference.
- See Also:
-
basicGetStartInstruction
-
setStartInstruction
Sets the value of the 'Start Instruction' reference.- Specified by:
setStartInstructionin interfaceLocalVariable- Parameters:
newStartInstruction- the new value of the 'Start Instruction' reference.- See Also:
-
getEndInstruction
Returns the value of the 'End Instruction' reference.If the meaning of the 'End Instruction' attribute isn't clear, there really should be more of a description here...
- Specified by:
getEndInstructionin interfaceLocalVariable- Returns:
- the value of the 'End Instruction' reference.
- See Also:
-
basicGetEndInstruction
- See Also:
-
setEndInstruction
Sets the value of the 'End Instruction' reference.- Specified by:
setEndInstructionin interfaceLocalVariable- Parameters:
newEndInstruction- the new value of the 'End Instruction' reference.- See Also:
-
getStartInstructionIndex
public int getStartInstructionIndex()Returns the value of the 'Start Instruction Index' attribute. The default value is"-1".- Specified by:
getStartInstructionIndexin interfaceLocalVariable- Returns:
- the value of the 'Start Instruction Index' attribute.
- See Also:
-
setStartInstructionIndex
public void setStartInstructionIndex(int newStartInstructionIndex) Sets the value of the 'Start Instruction Index' attribute.- Specified by:
setStartInstructionIndexin interfaceLocalVariable- Parameters:
newStartInstructionIndex- the new value of the 'Start Instruction Index' attribute.- See Also:
-
getEndInstructionIndex
public int getEndInstructionIndex()Returns the value of the 'End Instruction Index' attribute. The default value is"-1".- Specified by:
getEndInstructionIndexin interfaceLocalVariable- Returns:
- the value of the 'End Instruction Index' attribute.
- See Also:
-
setEndInstructionIndex
public void setEndInstructionIndex(int newEndInstructionIndex) Sets the value of the 'End Instruction Index' attribute.- Specified by:
setEndInstructionIndexin interfaceLocalVariable- Parameters:
newEndInstructionIndex- the new value of the 'End Instruction Index' attribute.- See Also:
-
eInverseAdd
public org.eclipse.emf.common.notify.NotificationChain eInverseAdd(org.eclipse.emf.ecore.InternalEObject otherEnd, int featureID, org.eclipse.emf.common.notify.NotificationChain msgs) - Overrides:
eInverseAddin classorg.eclipse.emf.ecore.impl.BasicEObjectImpl
-
eInverseRemove
public org.eclipse.emf.common.notify.NotificationChain eInverseRemove(org.eclipse.emf.ecore.InternalEObject otherEnd, int featureID, org.eclipse.emf.common.notify.NotificationChain msgs) - Overrides:
eInverseRemovein classorg.eclipse.emf.ecore.impl.BasicEObjectImpl
-
eBasicRemoveFromContainerFeature
public org.eclipse.emf.common.notify.NotificationChain eBasicRemoveFromContainerFeature(org.eclipse.emf.common.notify.NotificationChain msgs) - Overrides:
eBasicRemoveFromContainerFeaturein classorg.eclipse.emf.ecore.impl.BasicEObjectImpl
-
eGet
- Specified by:
eGetin interfaceorg.eclipse.emf.ecore.InternalEObject- Overrides:
eGetin classTypedElementImpl
-
eSet
- Specified by:
eSetin interfaceorg.eclipse.emf.ecore.InternalEObject- Overrides:
eSetin classTypedElementImpl
-
eUnset
public void eUnset(int featureID) - Specified by:
eUnsetin interfaceorg.eclipse.emf.ecore.InternalEObject- Overrides:
eUnsetin classTypedElementImpl
-
eIsSet
public boolean eIsSet(int featureID) - Specified by:
eIsSetin interfaceorg.eclipse.emf.ecore.InternalEObject- Overrides:
eIsSetin classTypedElementImpl
-
getOwningBlock
Returns the value of the 'Owning Block' container reference. It is bidirectional and its opposite is 'Local Variables'.If the meaning of the 'Owning Block' container reference isn't clear, there really should be more of a description here...
- Specified by:
getOwningBlockin interfaceLocalVariable- Returns:
- the value of the 'Owning Block' container reference.
- See Also:
-
basicSetOwningBlock
public org.eclipse.emf.common.notify.NotificationChain basicSetOwningBlock(CodeBlock newOwningBlock, org.eclipse.emf.common.notify.NotificationChain msgs) - See Also:
-
setOwningBlock
Sets the value of the 'Owning Block' container reference.- Specified by:
setOwningBlockin interfaceLocalVariable- Parameters:
newOwningBlock- the new value of the 'Owning Block' container reference.- See Also:
-
toString
- Overrides:
toStringin classTypedElementImpl
-