Enum Class JavaSections

java.lang.Object
java.lang.Enum<JavaSections>
de.spraener.nxtgen.target.java.JavaSections
All Implemented Interfaces:
Serializable, Comparable<JavaSections>, Constable

public enum JavaSections extends Enum<JavaSections>
  • Enum Constant Details

    • IMPORTS

      public static final JavaSections IMPORTS
    • CLASS_DECLARATION

      public static final JavaSections CLASS_DECLARATION
    • EXTENDS

      public static final JavaSections EXTENDS
    • IMPLEMENTS

      public static final JavaSections IMPLEMENTS
    • CLASS_BLOCK_BEGIN

      public static final JavaSections CLASS_BLOCK_BEGIN
    • CONSTRUCTORS

      public static final JavaSections CONSTRUCTORS
    • ATTRIBUTE_DECLARATIONS

      public static final JavaSections ATTRIBUTE_DECLARATIONS
    • METHODS

      public static final JavaSections METHODS
    • CLASS_BLOCK_ENDS

      public static final JavaSections CLASS_BLOCK_ENDS
  • Method Details

    • values

      public static JavaSections[] values()
      Returns an array containing the constants of this enum class, in the order they are declared.
      Returns:
      an array containing the constants of this enum class, in the order they are declared
    • valueOf

      public static JavaSections valueOf(String name)
      Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)
      Parameters:
      name - the name of the enum constant to be returned.
      Returns:
      the enum constant with the specified name
      Throws:
      IllegalArgumentException - if this enum class has no constant with the specified name
      NullPointerException - if the argument is null
    • createJavaCodeTarget

      public static CodeTarget createJavaCodeTarget(String... preambleLines)