java.lang.Object
com.vaadin.hilla.parser.core.AbstractNode<tools.jackson.databind.introspect.BeanPropertyDefinition,String>
com.vaadin.hilla.parser.plugins.backbone.nodes.PropertyNode
All Implemented Interfaces:
Node<tools.jackson.databind.introspect.BeanPropertyDefinition,String>, AnnotatedNode

public class PropertyNode extends AbstractNode<tools.jackson.databind.introspect.BeanPropertyDefinition,String> implements AnnotatedNode
  • Constructor Details

    • PropertyNode

      protected PropertyNode(@NonNull tools.jackson.databind.introspect.BeanPropertyDefinition source, @NonNull String target)
  • Method Details

    • getValueType

      public TypeModel.Builder getValueType()
      What the walk says about the type of the value the property holds, which the walk carries as a node below this one. Until that node is left, it is what is known about a type nothing has been walked for.
    • setValueType

      public void setValueType(TypeModel.Builder valueType)
    • getAnnotations

      public List<Annotation> getAnnotations()
      The annotations of the field, the getter and the setter parameter of the property, in this order.
      Specified by:
      getAnnotations in interface AnnotatedNode
    • getAssociatedTypes

      public List<AnnotatedType> getAssociatedTypes()
      The types the getter returns, the setter takes and the field holds, in this order, for those the property has.
    • getPrimaryMember

      public Member getPrimaryMember()
      The member the property is read through: the getter, or else the setter, or else the field.
    • getSourceName

      protected String getSourceName()
      Description copied from class: AbstractNode
      The name of the source, as AbstractNode.toString() shows it.
      Overrides:
      getSourceName in class AbstractNode<tools.jackson.databind.introspect.BeanPropertyDefinition,String>
    • of

      public static @NonNull PropertyNode of(@NonNull tools.jackson.databind.introspect.BeanPropertyDefinition source)