Interface StaticCapableSource<T>

All Superinterfaces:
StaticCapable
All Known Subinterfaces:
FieldSource<O>, Import, JavaClassSource, JavaEnumSource, JavaInterfaceSource, MemberSource<O,T>, MethodSource<O>

public interface StaticCapableSource<T> extends StaticCapable
Represents a Java element that supports the static keyword.
Author:
George Gastaldi
  • Method Summary

    Modifier and Type
    Method
    Description
    setStatic(boolean value)
    Sets the static keyword in this element.

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

    isStatic
  • Method Details

    • setStatic

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