Class Procedure

java.lang.Object
net.mcreator.element.parts.procedure.Procedure
Direct Known Subclasses:
RetvalProcedure

public class Procedure extends Object
  • Field Details

    • exists

      public transient boolean exists
  • Constructor Details

    • Procedure

      public Procedure(String name)
  • Method Details

    • getName

      @Nullable public String getName()
    • hasProcedure

      public static boolean hasProcedure(@Nullable Procedure procedure, Workspace workspace)
      Returns:
      true if the given procedure reference is defined and points to a (procedure) mod element that exists in the workspace
    • getDependencies

      public List<Dependency> getDependencies(Workspace workspace)
    • getReturnValueType

      public String getReturnValueType(Workspace workspace)