Class PropertyReference<B,T>

java.lang.Object
io.micronaut.serde.reference.PropertyReference<B,T>
Type Parameters:
B - The bean type
T - The property type
Direct Known Subclasses:
SerializationReference

@Internal public class PropertyReference<B,T> extends Object
Represents a reference to a property.
  • Constructor Details

    • PropertyReference

      public PropertyReference(@NonNull @NonNull String referenceName, @NonNull @NonNull io.micronaut.core.beans.BeanIntrospection<B> introspection, @NonNull @NonNull io.micronaut.core.type.Argument<T> property, @Nullable @Nullable Object value)
  • Method Details

    • getReferenceName

      @NonNull public @NonNull String getReferenceName()
      Returns:
      The reference name
    • getIntrospection

      @NonNull public @NonNull io.micronaut.core.beans.BeanIntrospection<B> getIntrospection()
      Returns:
      The introspection
    • getProperty

      @NonNull public @NonNull io.micronaut.core.type.Argument<T> getProperty()
      Returns:
      The property
    • getReference

      @Nullable public @Nullable Object getReference()
      Returns:
      The reference