Class SParameterImpl
- java.lang.Object
 - 
- jetbrains.mps.core.aspects.behaviour.SParameterImpl
 
 
- 
- All Implemented Interfaces:
 SParameter,STypedElement,SElement,SNamedElement
public class SParameterImpl extends Object implements SParameter
 
- 
- 
Constructor Summary
Constructors Constructor Description SParameterImpl(SAbstractType paramType, String name) 
- 
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object o)static List<SParameter>fromList(List<? extends SAbstractType> types)NB: ignores parameter namesStringgetName()Presentation of the element for an end-user.SAbstractTypegetType()inthashCode()StringtoString()- 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait 
- 
Methods inherited from interface org.jetbrains.mps.openapi.language.SElement
getLanguage, getSourceNode 
 - 
 
 - 
 
- 
- 
Constructor Detail
- 
SParameterImpl
public SParameterImpl(@NotNull SAbstractType paramType, @NotNull String name)
 
 - 
 
- 
Method Detail
- 
getType
@NotNull public SAbstractType getType()
- Specified by:
 getTypein interfaceSTypedElement
 
- 
getName
@NotNull public String getName()
Description copied from interface:SNamedElementPresentation of the element for an end-user. Unlike identity, the name is deemed user-friendly and shall not be used for persistence.- Specified by:
 getNamein interfaceSNamedElement- Returns:
 - name of the meta element
 
 
- 
fromList
public static List<SParameter> fromList(List<? extends SAbstractType> types)
NB: ignores parameter names 
 - 
 
 -