Class SMethodTrimmedId
- java.lang.Object
 - 
- jetbrains.mps.core.aspects.behaviour.SMethodTrimmedId
 
 
- 
- All Implemented Interfaces:
 SMethodId
public final class SMethodTrimmedId extends Object implements SMethodId
Represents a handle which uniquely identifiesSMethodwithin the concept (including all the ancestors). This implementation is based on the NodeId of the method node (in the behavior aspect of the concept) 
- 
- 
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static SMethodTrimmedIdcreate(String name, SAbstractConcept concept, String trimmedId)static SMethodTrimmedIdcreate(SNodeId nodeId, SAbstractConcept concept)booleanequals(Object o)static SNodeIdfromText(String serializedNodeId)inthashCode()StringtoString()static StringtoText(SNodeId nodeId) 
 - 
 
- 
- 
Method Detail
- 
create
@NotNull public static SMethodTrimmedId create(@NotNull String name, @Nullable SAbstractConcept concept, @NotNull String trimmedId)
 
- 
toText
public static String toText(@NotNull SNodeId nodeId)
- Parameters:
 nodeId- identity of the method declaration node- Returns:
 - serializable value that identifies the method
 
 
- 
fromText
public static SNodeId fromText(@NotNull String serializedNodeId)
- Parameters:
 serializedNodeId- value created bytoText(SNodeId)
 
- 
create
public static SMethodTrimmedId create(@NotNull SNodeId nodeId, @Nullable SAbstractConcept concept)
 
 - 
 
 -