Interface SExecutable
- 
- All Superinterfaces:
 SElement,SNamedElement
- All Known Subinterfaces:
 SConstructor,SMethod<T>
- All Known Implementing Classes:
 SDefaultConstructorImpl,SMethodImpl
public interface SExecutable extends SNamedElement
This interface presents the API for method-like objects. It can be a behavior constructor or a behavior method Created by apyshkin on 11/09/15. TODO extend SConceptFeature and replace #getConcept() with getOwner 
- 
- 
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description SAbstractConceptgetConcept()SExecutable must belong to some concept For example in the case of SMethod the concept is the concept where the method is declaredList<SThrowable>getExceptions()SModifiersgetModifiers()List<SParameter>getParameters()- 
Methods inherited from interface org.jetbrains.mps.openapi.language.SElement
getLanguage, getSourceNode 
- 
Methods inherited from interface org.jetbrains.mps.openapi.language.SNamedElement
getName 
 - 
 
 - 
 
- 
- 
Method Detail
- 
getConcept
@NotNull SAbstractConcept getConcept()
SExecutable must belong to some concept For example in the case of SMethod the concept is the concept where the method is declared- Returns:
 - the concept which this executable belongs to
 
 
- 
getModifiers
@NotNull SModifiers getModifiers()
- Returns:
 - modifiers of the method (public/private, virtual, etc.)
 - See Also:
 SModifiers
 
- 
getParameters
List<SParameter> getParameters()
- Returns:
 - the parameters description
 - See Also:
 SParameter
 
- 
getExceptions
List<SThrowable> getExceptions()
- Returns:
 - the declared throwable exceptions description
 - See Also:
 SThrowable
 
 - 
 
 -