Class Annotations

java.lang.Object
com.amazon.ionpathextraction.internal.Annotations

public final class Annotations extends Object

Represents the optional annotation that path components or search paths should match on.

Internal only. Not intended for application use.

  • Field Details

  • Constructor Details

    • Annotations

      public Annotations(String[] rawAnnotations)
      Constructor.
  • Method Details

    • getAnnotations

      public String[] getAnnotations()
    • hasAnnotations

      public boolean hasAnnotations()
    • match

      public boolean match(String[] annotations, boolean ignoreCase)
      returns true if it matches on the annotations provided.
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object