Class Descriptor

  • Direct Known Subclasses:
    Signature

    public class Descriptor
    extends java.lang.Object
    • Constructor Summary

      Constructors 
      Constructor Description
      Descriptor()  
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      private static void fieldType​(java.lang.StringBuilder sb, javax.lang.model.type.TypeMirror type)  
      static java.lang.String getDesriptor​(javax.lang.model.element.Element element)  
      private static java.lang.String getFieldDesriptor​(javax.lang.model.element.Element element)  
      static java.lang.String getFieldDesriptor​(javax.lang.model.type.TypeMirror type)  
      static java.lang.String getFullyQualifiedForm​(java.lang.String fieldDecriptor)
      Return fully qualified form from internal form.
      private static java.lang.String getMethodDesriptor​(javax.lang.model.element.ExecutableElement eel)  
      protected static void nestedQualifiedName​(java.lang.Appendable sb, javax.lang.model.element.TypeElement te)  
      protected static void nestedSimpleName​(java.lang.Appendable sb, javax.lang.model.element.TypeElement te)  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • Descriptor

        public Descriptor()
    • Method Detail

      • getDesriptor

        public static java.lang.String getDesriptor​(javax.lang.model.element.Element element)
      • getFieldDesriptor

        private static java.lang.String getFieldDesriptor​(javax.lang.model.element.Element element)
                                                   throws java.io.IOException
        Throws:
        java.io.IOException
      • getFieldDesriptor

        public static java.lang.String getFieldDesriptor​(javax.lang.model.type.TypeMirror type)
      • fieldType

        private static void fieldType​(java.lang.StringBuilder sb,
                                      javax.lang.model.type.TypeMirror type)
                               throws java.io.IOException
        Throws:
        java.io.IOException
      • getMethodDesriptor

        private static java.lang.String getMethodDesriptor​(javax.lang.model.element.ExecutableElement eel)
                                                    throws java.io.IOException
        Throws:
        java.io.IOException
      • nestedSimpleName

        protected static void nestedSimpleName​(java.lang.Appendable sb,
                                               javax.lang.model.element.TypeElement te)
                                        throws java.io.IOException
        Throws:
        java.io.IOException
      • nestedQualifiedName

        protected static void nestedQualifiedName​(java.lang.Appendable sb,
                                                  javax.lang.model.element.TypeElement te)
                                           throws java.io.IOException
        Throws:
        java.io.IOException
      • getFullyQualifiedForm

        public static java.lang.String getFullyQualifiedForm​(java.lang.String fieldDecriptor)
        Return fully qualified form from internal form. Eg. Ljava/lang/String returns java.lang.String
        Parameters:
        fieldDecriptor -
        Returns: