Interface FieldSource<O extends JavaSource<O>>

    • Method Detail

      • setType

        FieldSource<O> setType​(java.lang.Class<?> clazz)
        Set the type of this Field to the given Class type. Attempt to add an import statement to this field's base FieldSource if required.
      • setType

        FieldSource<O> setType​(java.lang.String type)
        Set the type of this Field to the given type. Attempt to add an import statement to this field's base FieldSource if required. (Note that the given className must be fully-qualified in order to properly import required classes)
      • setLiteralInitializer

        FieldSource<O> setLiteralInitializer​(java.lang.String value)
      • setStringInitializer

        FieldSource<O> setStringInitializer​(java.lang.String value)
      • setTransient

        FieldSource<O> setTransient​(boolean value)
      • setVolatile

        FieldSource<O> setVolatile​(boolean value)