Package org.jboss.forge.roaster.model
Interface JavaRecord<O extends JavaRecord<O>>
- All Superinterfaces:
AnnotationTarget<O>,InterfaceCapable,Internal,JavaDocCapable<O>,JavaType<O>,MemberHolder<O>,MethodHolder<O>,Named,Origin<O>,Packaged<O>,TypeHolder<O>,VisibilityScoped
- All Known Subinterfaces:
JavaRecordSource
public interface JavaRecord<O extends JavaRecord<O>>
extends JavaType<O>, MethodHolder<O>, TypeHolder<O>, InterfaceCapable
Represents a Record class (available as a preview feature in JDK 14). See
Roaster for various options in
generating JavaRecord instances-
Method Summary
Methods inherited from interface org.jboss.forge.roaster.model.AnnotationTarget
getAnnotation, getAnnotation, getAnnotations, hasAnnotation, hasAnnotationMethods inherited from interface org.jboss.forge.roaster.model.InterfaceCapable
getInterfaces, hasInterface, hasInterface, hasInterfaceMethods inherited from interface org.jboss.forge.roaster.Internal
getInternalMethods inherited from interface org.jboss.forge.roaster.model.JavaDocCapable
getJavaDoc, hasJavaDocMethods inherited from interface org.jboss.forge.roaster.model.JavaType
getCanonicalName, getEnclosingType, getQualifiedName, getSyntaxErrors, hasSyntaxErrors, isAnnotation, isClass, isEnum, isInterface, isRecord, toUnformattedStringMethods inherited from interface org.jboss.forge.roaster.model.MemberHolder
getMembersMethods inherited from interface org.jboss.forge.roaster.model.MethodHolder
getMethod, getMethod, getMethod, getMethods, hasMethod, hasMethodSignature, hasMethodSignature, hasMethodSignature, hasMethodSignatureMethods inherited from interface org.jboss.forge.roaster.model.Packaged
getPackage, isDefaultPackageMethods inherited from interface org.jboss.forge.roaster.model.TypeHolder
getNestedType, getNestedTypes, hasNestedType, hasNestedType, hasNestedTypeMethods inherited from interface org.jboss.forge.roaster.model.VisibilityScoped
getVisibility, isPackagePrivate, isPrivate, isProtected, isPublic
-
Method Details
-
getRecordComponents
List<? extends JavaRecordComponent> getRecordComponents()- Returns:
- the list of
JavaRecordComponentfor this record
-