Class MemberScope.DeclarationDetails

java.lang.Object
com.github.victools.jsonschema.generator.MemberScope.DeclarationDetails
Enclosing class:
MemberScope<M extends com.fasterxml.classmate.members.ResolvedMember<T>,T extends Member>

public static class MemberScope.DeclarationDetails extends Object
  • Constructor Summary

    Constructors
    Constructor
    Description
    DeclarationDetails(com.fasterxml.classmate.ResolvedType schemaTargetType, com.fasterxml.classmate.ResolvedTypeWithMembers declaringTypeMembers)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    com.fasterxml.classmate.ResolvedTypeWithMembers
    Getter for the collection of the member's declaring type's (other) fields and methods.
    com.fasterxml.classmate.ResolvedType
    Getter for the specific type for which a schema is being generated, that includes this field/method.

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • DeclarationDetails

      public DeclarationDetails(com.fasterxml.classmate.ResolvedType schemaTargetType, com.fasterxml.classmate.ResolvedTypeWithMembers declaringTypeMembers)
  • Method Details

    • getSchemaTargetType

      public com.fasterxml.classmate.ResolvedType getSchemaTargetType()
      Getter for the specific type for which a schema is being generated, that includes this field/method. This can differ from the wrapped member's declaring type, if that declaring type is an implemented interface or super type of the targeted one.
      Returns:
      target type for which a schema is being generated including this field/method
    • getDeclaringTypeMembers

      public com.fasterxml.classmate.ResolvedTypeWithMembers getDeclaringTypeMembers()
      Getter for the collection of the member's declaring type's (other) fields and methods.
      Returns:
      declaring type's fields and methods