Class RecordComponentBinding

Direct Known Subclasses:
ParameterizedRecordComponentBinding

public class RecordComponentBinding extends VariableBinding
  • Field Details

  • Constructor Details

  • Method Details

    • kind

      public final int kind()
      Specified by:
      kind in class Binding
    • computeUniqueKey

      public char[] computeUniqueKey(boolean isLeaf)
      Overrides:
      computeUniqueKey in class Binding
    • genericSignature

      public char[] genericSignature()
      
       X<T> t   -->  LX<TT;>;
      
    • getAnnotations

      public AnnotationBinding[] getAnnotations()
      Specified by:
      getAnnotations in class VariableBinding
    • getAnnotationTagBits

      public long getAnnotationTagBits()
      Description copied from class: Binding
      Compute the tagbits for standard annotations. For source types, these could require lazily resolving corresponding annotation nodes, in case of forward references. For type use bindings, this method still returns the tagbits corresponding to the type declaration binding.
      Overrides:
      getAnnotationTagBits in class Binding
      See Also:
      • invalid reference
        org.eclipse.jdt.internal.compiler.lookup.SourceTypeBinding#getAnnotationTagBits()
    • isDeprecated

      public final boolean isDeprecated()
    • isPublic

      public final boolean isPublic()
    • original

      public RecordComponentBinding original()
      Returns the original RecordComponent (as opposed to parameterized instances)
    • setAnnotations

      public void setAnnotations(AnnotationBinding[] annotations, boolean forceStore)
      Overrides:
      setAnnotations in class Binding
    • sourceRecordComponent

      public RecordComponent sourceRecordComponent()