Package sc.lang.java

Class PrimitiveType

    • Field Detail

      • typeName

        public java.lang.String typeName
    • Constructor Detail

      • PrimitiveType

        public PrimitiveType()
    • Method Detail

      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object
      • create

        public static PrimitiveType create​(java.lang.String typeName)
      • createArray

        public static PrimitiveType createArray​(java.lang.String typeName,
                                                int ndim)
      • getFullTypeName

        public java.lang.String getFullTypeName()
        Description copied from class: JavaType
        Returns the full type name of the base type including array dimensions if set
        Specified by:
        getFullTypeName in class JavaType
      • getAbsoluteTypeName

        public java.lang.String getAbsoluteTypeName()
        Description copied from class: JavaType
        Returns the absolute type name of the base type including array dimensions if set
        Specified by:
        getAbsoluteTypeName in class JavaType
      • getFullBaseTypeName

        public java.lang.String getFullBaseTypeName()
        Description copied from class: JavaType
        Returns the full type name of the base type without the array dimensions
        Specified by:
        getFullBaseTypeName in class JavaType
      • isVoid

        public boolean isVoid()
      • getTypeDeclaration

        public java.lang.Object getTypeDeclaration​(ITypeParamContext ctx,
                                                   java.lang.Object dit,
                                                   boolean resolve,
                                                   boolean refreshParams,
                                                   boolean bindUnbound,
                                                   java.lang.Object baseType,
                                                   int paramIx)
        Specified by:
        getTypeDeclaration in class JavaType
      • setSignatureCode

        public void setSignatureCode​(java.lang.String code)
      • getSignatureCode

        public java.lang.String getSignatureCode()
      • setAccessTime

        public void setAccessTime​(long time)
        Specified by:
        setAccessTime in class JavaType
      • isBound

        public boolean isBound()
        Specified by:
        isBound in class JavaType
      • definesTypeParameter

        public java.lang.Object definesTypeParameter​(java.lang.Object typeParamName,
                                                     ITypeParamContext ctx)