Class FieldSignature

    • Constructor Detail

      • FieldSignature

        public FieldSignature​(String value)
        constructs a new FieldSignature.
        Parameters:
        value - String; the value of the descriptor
      • FieldSignature

        public FieldSignature​(Class<?> clazz)
        constructs a new FieldSignature.
        Parameters:
        clazz - Class<?>; The class
    • Method Detail

      • getStringValue

        public String getStringValue()
        Returns:
        Returns the value of the field descriptor
      • toDescriptor

        public static final String toDescriptor​(Class<?>[] classes)
        converts an array of fields to its descriptor.
        Parameters:
        classes - Class<?>[]; the classes to represent
        Returns:
        String the descriptor String
      • toDescriptor

        public static final String toDescriptor​(Class<?> clazz)
        converts a field to its descriptor.
        Parameters:
        clazz - Class<?>; the clazz to represent
        Returns:
        String the descriptor String