Class BCMethodDescriptor

java.lang.Object
org.apache.derby.impl.services.bytecode.BCMethodDescriptor

class BCMethodDescriptor extends Object
A method descriptor. Ie. something that describes the type of a method, parameter types and return types. It is not an instance of a method.
This has no generated class specific state.
  • Field Details

    • EMPTY

      static final String[] EMPTY
    • vmParameterTypes

      private final String[] vmParameterTypes
    • vmReturnType

      private final String vmReturnType
    • vmDescriptor

      private final String vmDescriptor
  • Constructor Details

    • BCMethodDescriptor

      BCMethodDescriptor(String[] vmParameterTypes, String vmReturnType, BCJava factory)
  • Method Details

    • get

      static String get(String[] vmParameterTypes, String vmReturnType, BCJava factory)
    • buildMethodDescriptor

      String buildMethodDescriptor()
      builds the JVM method descriptor for this method as defined in JVM Spec 4.3.3, Method Descriptors.
    • toString

      public String toString()
      Overrides:
      toString in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • equals

      public boolean equals(Object other)
      Overrides:
      equals in class Object