Interface MutableClassDetails
- All Superinterfaces:
AnnotationTarget, ClassDetails, MutableAnnotationTarget, Storable<ClassDetails, SerialClassDetails>, TypeVariableScope
- All Known Subinterfaces:
ClassDetailsSupport
- All Known Implementing Classes:
DynamicClassDetails, JdkClassDetails
Extension of ClassDetails which allows manipulation of the members
-
Nested Class Summary
Nested classes/interfaces inherited from interface AnnotationTarget
AnnotationTarget.AnnotationUsageProcessor<T,A>, AnnotationTarget.Kind Nested classes/interfaces inherited from interface ClassDetails
ClassDetails.ClassDetailsConsumer -
Field Summary
Fields inherited from interface ClassDetails
CLASS_CLASS_DETAILS, OBJECT_CLASS_DETAILS, VOID_CLASS_DETAILS, VOID_OBJECT_CLASS_DETAILS -
Method Summary
Modifier and TypeMethodDescriptionvoidaddField(FieldDetails fieldDetails) voidaddMethod(MethodDetails methodDetails) default <A extends Annotation>
AnnotationDescriptor<A> Safe cast method for cases when the target is an annotation.default MutableClassDetailsdefault FieldDetailsdefault MutableMemberDetailsdefault MethodDetailsdefault RecordComponentDetailsSafe cast method for cases when the target is a record component.default voidMethods inherited from interface AnnotationTarget
forEachAnnotationUsage, forEachAnnotationUsage, forEachDirectAnnotationUsage, forEachRepeatedAnnotationUsages, forEachRepeatedAnnotationUsages, fromAnnotations, fromContainers, fromSelfAndContainers, getAnnotationUsage, getAnnotationUsage, getDirectAnnotationUsage, getDirectAnnotationUsage, getDirectAnnotationUsages, getMetaAnnotated, getNamedAnnotationUsage, getNamedAnnotationUsage, getNamedAnnotationUsage, getNamedAnnotationUsage, getRepeatedAnnotationUsages, getRepeatedAnnotationUsages, hasAnnotationUsage, hasDirectAnnotationUsage, locateAnnotationUsage, walkContainers, walkSelfAndContainersMethods inherited from interface ClassDetails
determineRawClass, findField, findFieldByName, findRecordComponent, findRecordComponentByName, forEachField, forEachMember, forEachMethod, forEachPersistableMember, forEachRecordComponent, forEachSuper, forSelfAndEachSuper, getClassName, getContainer, getFields, getGenericSuperType, getImplementedInterfaces, getKind, getMethods, getName, getRecordComponents, getSuperClass, getTypeParameters, isAbstract, isEnum, isImplementor, isInterface, isJdkClass, isRecord, isResolved, isSuperclass, resolveTypeVariable, toJavaClass, toJavaClassMethods inherited from interface MutableAnnotationTarget
addAnnotationUsage, applyAnnotationUsage, clearAnnotationUsages, removeAnnotationUsage, replaceAnnotationUsage, replaceAnnotationUsageMethods inherited from interface Storable
toStorableForm
-
Method Details
-
clearMemberAnnotationUsages
default void clearMemberAnnotationUsages() -
addField
-
addMethod
-
asAnnotationDescriptor
Description copied from interface:AnnotationTargetSafe cast method for cases when the target is an annotation.- Specified by:
asAnnotationDescriptorin interfaceAnnotationTarget- Specified by:
asAnnotationDescriptorin interfaceClassDetails
-
asClassDetails
Description copied from interface:AnnotationTarget- Specified by:
asClassDetailsin interfaceAnnotationTarget- Specified by:
asClassDetailsin interfaceClassDetails- Specified by:
asClassDetailsin interfaceMutableAnnotationTarget
-
asMemberDetails
Description copied from interface:AnnotationTarget- Specified by:
asMemberDetailsin interfaceAnnotationTarget- Specified by:
asMemberDetailsin interfaceClassDetails- Specified by:
asMemberDetailsin interfaceMutableAnnotationTarget
-
asFieldDetails
Description copied from interface:AnnotationTarget- Specified by:
asFieldDetailsin interfaceAnnotationTarget- Specified by:
asFieldDetailsin interfaceClassDetails
-
asMethodDetails
Description copied from interface:AnnotationTarget- Specified by:
asMethodDetailsin interfaceAnnotationTarget- Specified by:
asMethodDetailsin interfaceClassDetails
-
asRecordComponentDetails
Description copied from interface:AnnotationTargetSafe cast method for cases when the target is a record component.- Specified by:
asRecordComponentDetailsin interfaceAnnotationTarget- Specified by:
asRecordComponentDetailsin interfaceClassDetails
-