Annotation Type MethodDescriptor


  • @Documented
    @Retention(RUNTIME)
    @Target({TYPE_USE,TYPE_PARAMETER})
    @SubtypeOf(SignatureUnknown.class)
    public @interface MethodDescriptor
    Represents a method descriptor (JVM representation of method signature) as defined in the Java Virtual Machine Specification, section 4.3.3.

    Example:

      package edu.cs.washington;
      public class BinaryName {
        private class Inner {
          public void method(Object obj, int i) {}
        }
      }
     
    In this example method descriptor for method 'method': (Ljava/lang/Object;I)Z
    See the Checker Framework Manual:
    Signature Checker