Class ReifiedType.Annotated

java.lang.Object
space.arim.dazzleconf.reflect.ReifiedType
space.arim.dazzleconf.reflect.ReifiedType.Annotated
All Implemented Interfaces:
AnnotatedElement
Enclosing class:
ReifiedType

public static final class ReifiedType.Annotated extends ReifiedType implements AnnotatedElement
Annotation capable extension to a reified type.
  • Field Details

    • EMPTY_ARRAY

      public static final ReifiedType.Annotated[] EMPTY_ARRAY
      A reusable empty array for this type
  • Constructor Details

    • Annotated

      public Annotated(@NonNull Class<?> rawType, @NonNull ReifiedType.Annotated @NonNull [] arguments, @NonNull AnnotatedElement annotations)
      Creates from nonnull input arguments

      The provided AnnotatedElement must be immutable; it should return consistent results for consistent calls.

      Parameters:
      rawType - the raw type
      arguments - , which are copied to ensure immutability
      annotations - the annotations source, which is trusted as immutable
  • Method Details