Interface JavaType<T extends JavaType<T>>

    • Method Detail

      • getSyntaxErrors

        List<SyntaxError> getSyntaxErrors()
        Get a list of all SyntaxErrors detected in the current JavaType. Note that when errors are present, the class may still be modified, but changes may not be completely accurate.
      • hasSyntaxErrors

        boolean hasSyntaxErrors()
        Return whether or not this JavaType currently has any SyntaxError s.
      • isInterface

        boolean isInterface()
        Return true if this JavaType represents a JavaClass interface.
      • getEnclosingType

        JavaType<?> getEnclosingType()
        Return the enclosing JavaType type in which this class is defined. If this class is a top-level type, and is not a nested type, this object will return itself.
      • toUnformattedString

        String toUnformattedString()
        Return the generated code without any formatting.