Package org.hibernate.models.spi
Interface MethodDetails
- All Superinterfaces:
AnnotationTarget,MemberDetails
- All Known Implementing Classes:
DynamicMethodDetails,JandexMethodDetails,JdkMethodDetails
-
Nested Class Summary
Nested ClassesNested classes/interfaces inherited from interface org.hibernate.models.spi.AnnotationTarget
AnnotationTarget.AnnotationUsageProcessor<T>, AnnotationTarget.KindNested classes/interfaces inherited from interface org.hibernate.models.spi.MemberDetails
MemberDetails.Visibility -
Method Summary
Modifier and TypeMethodDescriptiondefault AnnotationTarget.KindgetKind()The kind of targetdefault booleanCan this member be a persistent attributedefault StringFor members potentially representing attributes based on naming patterns, determine the attribute name.Methods inherited from interface org.hibernate.models.spi.AnnotationTarget
forAllAnnotationUsages, forEachAnnotationUsage, forEachAnnotationUsage, fromAnnotations, getAllAnnotationUsages, getAnnotationUsage, getAnnotationUsage, getMetaAnnotated, getNamedAnnotationUsage, getNamedAnnotationUsage, getNamedAnnotationUsage, getNamedAnnotationUsage, getRepeatedAnnotationUsages, getRepeatedAnnotationUsages, getSingleAnnotationUsage, getSingleAnnotationUsage, hasAnnotationUsage, hasRepeatableAnnotationUsage, locateAnnotationUsageMethods inherited from interface org.hibernate.models.spi.MemberDetails
getAssociatedType, getDeclaringType, getElementType, getMapKeyType, getModifiers, getName, getType, getVisibility, isArray, isField, isFinal, isPlural, isStatic, isSynthetic, resolveRelativeAssociatedType, resolveRelativeClassType, resolveRelativeType, toJavaMember
-
Method Details
-
getMethodKind
MethodDetails.MethodKind getMethodKind() -
getKind
Description copied from interface:AnnotationTargetThe kind of target- Specified by:
getKindin interfaceAnnotationTarget
-
getReturnType
ClassDetails getReturnType() -
getArgumentTypes
List<ClassDetails> getArgumentTypes() -
isPersistable
default boolean isPersistable()Description copied from interface:MemberDetailsCan this member be a persistent attribute- Specified by:
isPersistablein interfaceMemberDetails
-
resolveAttributeName
Description copied from interface:MemberDetailsFor members potentially representing attributes based on naming patterns, determine the attribute name. Returnnullif the name does not match the pattern for an attribute name.- Specified by:
resolveAttributeNamein interfaceMemberDetails- Returns:
- The potential attribute name, or
null.
-