Interface JavaRecordComponentSource
- All Superinterfaces:
AnnotationTarget<JavaRecordSource>,AnnotationTargetSource<JavaRecordSource,,ParameterSource<JavaRecordSource>> FinalCapable,FinalCapableSource<ParameterSource<JavaRecordSource>>,Internal,JavaRecordComponent<JavaRecordSource>,Origin<JavaRecordSource>,Parameter<JavaRecordSource>,ParameterSource<JavaRecordSource>
public interface JavaRecordComponentSource
extends JavaRecordComponent<JavaRecordSource>, ParameterSource<JavaRecordSource>
-
Method Summary
Modifier and TypeMethodDescriptiondefault booleanisFinal()default ParameterSource<JavaRecordSource>setFinal(boolean finl) Sets the final keyword in this element.Methods inherited from interface org.jboss.forge.roaster.model.AnnotationTarget
hasAnnotation, hasAnnotationMethods inherited from interface org.jboss.forge.roaster.model.source.AnnotationTargetSource
addAnnotation, addAnnotation, addAnnotation, getAnnotation, getAnnotation, getAnnotations, removeAllAnnotations, removeAnnotationMethods inherited from interface org.jboss.forge.roaster.Internal
getInternalMethods inherited from interface org.jboss.forge.roaster.model.Parameter
getName, getType, isVarArgsMethods inherited from interface org.jboss.forge.roaster.model.source.ParameterSource
setVarArgs
-
Method Details
-
isFinal
default boolean isFinal()- Specified by:
isFinalin interfaceFinalCapable- Returns:
- if this element has the final keyword
-
setFinal
Description copied from interface:FinalCapableSourceSets the final keyword in this element.- Specified by:
setFinalin interfaceFinalCapableSource<ParameterSource<JavaRecordSource>>- Parameters:
finl- if this element should be set to final- Returns:
- the generic element this interface is bound to
-