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>
-
Constructor Summary
ConstructorsConstructorDescriptionDeclarationDetails(com.fasterxml.classmate.ResolvedType schemaTargetType, com.fasterxml.classmate.ResolvedTypeWithMembers declaringTypeMembers) -
Method Summary
Modifier and TypeMethodDescriptioncom.fasterxml.classmate.ResolvedTypeWithMembersGetter for the collection of the member's declaring type's (other) fields and methods.com.fasterxml.classmate.ResolvedTypeGetter for the specific type for which a schema is being generated, that includes this field/method.
-
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
-