Interface IMethod

  • All Superinterfaces:
    IBslConstruct, org.eclipse.handly.model.IElement, org.eclipse.handly.model.IElementExtension, IEnvironmentElement, org.eclipse.handly.model.ISourceConstruct, org.eclipse.handly.model.ISourceElement, org.eclipse.handly.model.ISourceElementExtension, IV8Element

    public interface IMethod
    extends IBslConstruct, IEnvironmentElement
    Represents Bsl procedures and functions
    • Nested Class Summary

      Nested Classes 
      Modifier and Type Interface Description
      static class  IMethod.Annotation
      Special enumeration for method annotation symbols
    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      IMethod.Annotation[] getAnnotations()
      Returns method annotations.
      String[] getParameters()
      Returns parameter names.
      boolean isEvent()
      Returns is method event or not
      boolean isExport()
      Returns is method exported or not
      boolean isFormItemEvent()
      Returns is method form item event handler or not
      boolean isFunstion()
      Checks the method is function or procedure
      • Methods inherited from interface org.eclipse.handly.model.IElement

        equals, hashCode
      • Methods inherited from interface org.eclipse.handly.model.IElementExtension

        exists, getAncestor, getChildren, getChildren, getLocationUri, getName, getResource
      • Methods inherited from interface org.eclipse.handly.model.ISourceElementExtension

        getSourceElementAt, getSourceElementInfo
    • Method Detail

      • isFunstion

        boolean isFunstion()
        Checks the method is function or procedure
        Returns:
        true if method is function, false - procedure
      • isExport

        boolean isExport()
        Returns is method exported or not
        Returns:
        true if method is exported, false otherwise
      • isEvent

        boolean isEvent()
        Returns is method event or not
        Returns:
        true if method is event, false otherwise
      • isFormItemEvent

        boolean isFormItemEvent()
        Returns is method form item event handler or not
        Returns:
        true if method is form item event, false otherwise
      • getParameters

        String[] getParameters()
        Returns parameter names.
        Returns:
        parameter names or empty array
      • getAnnotations

        IMethod.Annotation[] getAnnotations()
        Returns method annotations.
        Returns:
        method annotations or empty array