Package jadx.api.data

Enum CommentStyle

java.lang.Object
java.lang.Enum<CommentStyle>
jadx.api.data.CommentStyle
All Implemented Interfaces:
Serializable, Comparable<CommentStyle>

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

    • LINE

      public static final CommentStyle LINE
       // comment
       
    • BLOCK

      public static final CommentStyle BLOCK
       /*
        * comment
        */
       
    • BLOCK_CONDENSED

      public static final CommentStyle BLOCK_CONDENSED
       /* comment */
       
    • JAVADOC

      public static final CommentStyle JAVADOC
       /**
        * comment
        */
       
    • JAVADOC_CONDENSED

      public static final CommentStyle JAVADOC_CONDENSED
       /** comment */
       
  • Field Details

    • start

      private final String start
    • onNewLine

      private final String onNewLine
    • end

      private final String end
  • Constructor Details

  • Method Details

    • values

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

      public static CommentStyle valueOf(String name)
      Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (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 type has no constant with the specified name
      NullPointerException - if the argument is null
    • getStart

      public String getStart()
    • getOnNewLine

      public String getOnNewLine()
    • getEnd

      public String getEnd()