Class MemberScope.DeclarationDetails
- java.lang.Object
-
- com.github.victools.jsonschema.generator.MemberScope.DeclarationDetails
-
-
Constructor Summary
Constructors Constructor Description DeclarationDetails(com.fasterxml.classmate.ResolvedType schemaTargetType, com.fasterxml.classmate.ResolvedTypeWithMembers declaringTypeMembers)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description com.fasterxml.classmate.ResolvedTypeWithMembers
getDeclaringTypeMembers()
Getter for the collection of the member's declaring type's (other) fields and methods.com.fasterxml.classmate.ResolvedType
getSchemaTargetType()
Getter for the specific type for which a schema is being generated, that includes this field/method.
-
-
-
Method Detail
-
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
-
-