Annotation Type ForceLinkClass


@Retention(RUNTIME)
@Target(TYPE)
public @interface ForceLinkClass
Adds a dependency from the annotated class A to another class B forcing the compiler to link in B if A is referenced in some way by other classes in an app.
  • Required Element Summary

    Required Elements
    Modifier and Type Required Element Description
    Class<?> value
    Specifies the class which the annotated class depends on.
  • Element Details

    • value

      Class<?> value
      Specifies the class which the annotated class depends on.