Package org.jboss.forge.roaster.model
Interface JavaRecord<O extends JavaRecord<O>>
-
- All Superinterfaces:
AnnotationTarget<O>,AnnotationTargetSource<O,O>,Importer<O>,Internal,JavaDocCapable<O>,JavaDocCapableSource<O>,JavaSource<O>,JavaType<O>,LocationCapable,Named,NamedSource<O>,Origin<O>,Packaged<O>,PackagedSource<O>,VisibilityScoped,VisibilityScopedSource<O>
- All Known Subinterfaces:
JavaRecordSource
public interface JavaRecord<O extends JavaRecord<O>> extends JavaSource<O>
Represents a Record class (available as a preview feature in JDK 14). SeeRoasterfor various options in generatingJavaRecordinstances
-
-
Method Summary
-
Methods inherited from interface org.jboss.forge.roaster.model.AnnotationTarget
hasAnnotation, hasAnnotation
-
Methods inherited from interface org.jboss.forge.roaster.model.source.AnnotationTargetSource
addAnnotation, addAnnotation, addAnnotation, getAnnotation, getAnnotation, getAnnotations, removeAllAnnotations, removeAnnotation
-
Methods inherited from interface org.jboss.forge.roaster.model.source.Importer
addImport, addImport, addImport, addImport, addImport, getImport, getImport, getImport, getImport, getImports, hasImport, hasImport, hasImport, hasImport, removeImport, removeImport, removeImport, removeImport, requiresImport, requiresImport, resolveType
-
Methods inherited from interface org.jboss.forge.roaster.Internal
getInternal
-
Methods inherited from interface org.jboss.forge.roaster.model.JavaDocCapable
hasJavaDoc
-
Methods inherited from interface org.jboss.forge.roaster.model.source.JavaDocCapableSource
getJavaDoc, removeJavaDoc
-
Methods inherited from interface org.jboss.forge.roaster.model.source.JavaSource
getEnclosingType
-
Methods inherited from interface org.jboss.forge.roaster.model.JavaType
getCanonicalName, getQualifiedName, getSyntaxErrors, hasSyntaxErrors, isAnnotation, isClass, isEnum, isInterface, isRecord, toUnformattedString
-
Methods inherited from interface org.jboss.forge.roaster.model.source.LocationCapable
getColumnNumber, getEndPosition, getLineNumber, getStartPosition
-
Methods inherited from interface org.jboss.forge.roaster.model.source.NamedSource
setName
-
Methods inherited from interface org.jboss.forge.roaster.model.Packaged
getPackage, isDefaultPackage
-
Methods inherited from interface org.jboss.forge.roaster.model.source.PackagedSource
setDefaultPackage, setPackage
-
Methods inherited from interface org.jboss.forge.roaster.model.VisibilityScoped
getVisibility, isPackagePrivate, isPrivate, isProtected, isPublic
-
Methods inherited from interface org.jboss.forge.roaster.model.source.VisibilityScopedSource
setPackagePrivate, setPrivate, setProtected, setPublic, setVisibility
-
-