Interface FinalCapableSource<T>

All Superinterfaces:
FinalCapable
All Known Subinterfaces:
FieldSource<O>, JavaClassSource, JavaRecordComponentSource, MemberSource<O,T>, MethodSource<O>, ParameterSource<O>

public interface FinalCapableSource<T> extends FinalCapable
Represents a Java element that supports the final keyword.
Author:
George Gastaldi
  • Method Summary

    Modifier and Type
    Method
    Description
    setFinal(boolean finl)
    Sets the final keyword in this element.

    Methods inherited from interface org.jboss.forge.roaster.model.FinalCapable

    isFinal
  • Method Details

    • setFinal

      T setFinal(boolean finl)
      Sets the final keyword in this element.
      Parameters:
      finl - if this element should be set to final
      Returns:
      the generic element this interface is bound to