Class SignatureAttribute.BaseType

    • Field Summary

      Fields 
      Modifier and Type Field Description
      (package private) char descriptor  
    • Constructor Summary

      Constructors 
      Constructor Description
      BaseType​(char c)  
      BaseType​(java.lang.String typeName)
      Constructs a BaseType.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      (package private) void encode​(java.lang.StringBuffer sb)  
      CtClass getCtlass()
      Returns the CtClass representing this primitive type.
      char getDescriptor()
      Returns the descriptor representing this primitive type.
      java.lang.String toString()
      Returns the string representation.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
    • Field Detail

      • descriptor

        char descriptor
    • Constructor Detail

      • BaseType

        BaseType​(char c)
      • BaseType

        public BaseType​(java.lang.String typeName)
        Constructs a BaseType.
        Parameters:
        typeName - void, int, ...
    • Method Detail

      • getDescriptor

        public char getDescriptor()
        Returns the descriptor representing this primitive type.
        See Also:
        Descriptor
      • getCtlass

        public CtClass getCtlass()
        Returns the CtClass representing this primitive type.
      • toString

        public java.lang.String toString()
        Returns the string representation.
        Overrides:
        toString in class java.lang.Object