public class MetadataDynamicClassWriter extends DynamicClassWriter
DynamicClassWriter adding getter methods for virtual
attributes so that 3rd party frameworks such as jakarta.validation can access
the attribute values.CLINIT, DYNAMIC_PROPERTIES_MANAGER_CLASSNAME_SLASHES, ICONST, INIT, parentClass, parentClassName| Constructor and Description |
|---|
MetadataDynamicClassWriter(MetadataDescriptor descriptor) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
addMethods(ClassWriter cw,
String parentClassType)
Add get methods for all virtual attributes
|
MetadataDescriptor |
getDescriptor() |
addFields, addInterface, createCopy, createEnum, getInterfaces, getParentClass, getParentClassName, isCompatible, toString, verify, writeClasspublic MetadataDynamicClassWriter(MetadataDescriptor descriptor)
public MetadataDescriptor getDescriptor()
protected void addMethods(ClassWriter cw, String parentClassType)
addMethods in class DynamicClassWriterCopyright © 2007–2021 Eclipse.org - EclipseLink Project. All rights reserved.