Interface TypeHolder<O extends JavaType<O>>

    • Method Detail

      • getNestedTypes

        java.util.List<? extends JavaType<?>> getNestedTypes()
        Return a list containing JavaType instances for each nested Class declaration found within this. Any modification of returned JavaType instances will result in modification of the contents contained by this the parent instance.
      • hasNestedType

        boolean hasNestedType​(java.lang.String name)
        Return whether or not this TypeHolder declares a type with the given name.
      • hasNestedType

        boolean hasNestedType​(JavaType<?> type)
        Return whether or not this TypeHolder declares the given JavaType instance.
      • hasNestedType

        boolean hasNestedType​(java.lang.Class<?> type)
        Return whether or not this TypeHolder declares the given Class instance.
      • getNestedType

        JavaType<?> getNestedType​(java.lang.String name)
        Get the JavaType with the given name and return it, otherwise, return null.