Overview | Package | Class | Tree | Deprecated | Index | Help
| GWT 2.0.3
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## com.google.gwt.core.ext.typeinfo
Class JPrimitiveType

    java.lang.Object
      com.google.gwt.core.ext.typeinfo.JType
          com.google.gwt.core.ext.typeinfo.JPrimitiveType

    public class JPrimitiveType

extends JType

Represents a primitive type in a declaration.

Field Summary
`static JPrimitiveType` | `BOOLEAN`
`static JPrimitiveType` | `BYTE`
`static JPrimitiveType` | `CHAR`
`static JPrimitiveType` | `DOUBLE`
`static JPrimitiveType` | `FLOAT`
`static JPrimitiveType` | `INT`
`static JPrimitiveType` | `LONG`
`static JPrimitiveType` | `SHORT`
`static JPrimitiveType` | `VOID`

Method Summary
`JType` | `getErasedType()`
`java.lang.String` | `getJNISignature()`
`java.lang.String` | `getQualifiedBinaryName()` TODO(scottb): remove if we can resolve param names differently.
`java.lang.String` | `getQualifiedBoxedSourceName()`
`java.lang.String` | `getQualifiedSourceName()`
`java.lang.String` | `getSimpleSourceName()`
`JArrayType` | `isArray()`
`JClassType` | `isClass()`
`JEnumType` | `isEnum()` Returns this instance if it is an enumeration or `null` if it is not.
`JGenericType` | `isGenericType()`
`JClassType` | `isInterface()`
`JParameterizedType` | `isParameterized()`
`JPrimitiveType` | `isPrimitive()`
`JRawType` | `isRawType()`
`JWildcardType` | `isWildcard()`
`java.lang.String` | `toString()`
`static JPrimitiveType` | `valueOf(java.lang.String typeName)`

Methods inherited from class com.google.gwt.core.ext.typeinfo.JType
`equals, getLeafType, getParameterizedQualifiedSourceName, hashCode, isAnnotation, isClassOrInterface, isTypeParameter`

Methods inherited from class java.lang.Object
`clone, finalize, getClass, notify, notifyAll, wait, wait, wait`

Field Detail

### BOOLEAN

    public static final JPrimitiveType BOOLEAN

### BYTE

    public static final JPrimitiveType BYTE

### CHAR

    public static final JPrimitiveType CHAR

### DOUBLE

    public static final JPrimitiveType DOUBLE

### FLOAT

    public static final JPrimitiveType FLOAT

### INT

    public static final JPrimitiveType INT

### LONG

    public static final JPrimitiveType LONG

### SHORT

    public static final JPrimitiveType SHORT

### VOID

    public static final JPrimitiveType VOID

Method Detail

### valueOf

    public static JPrimitiveType valueOf(java.lang.String typeName)

### getErasedType

    public JType getErasedType()

  Specified by:
    `getErasedType` in class `JType`

### getJNISignature

    public java.lang.String getJNISignature()

  Specified by:
    `getJNISignature` in class `JType`

### getQualifiedBinaryName

    public java.lang.String getQualifiedBinaryName()

  Description copied from class: `JType`
  TODO(scottb): remove if we can resolve param names differently.

  Specified by:
    `getQualifiedBinaryName` in class `JType`

### getQualifiedBoxedSourceName

    public java.lang.String getQualifiedBoxedSourceName()

### getQualifiedSourceName

    public java.lang.String getQualifiedSourceName()

  Specified by:
    `getQualifiedSourceName` in class `JType`

### getSimpleSourceName

    public java.lang.String getSimpleSourceName()

  Specified by:
    `getSimpleSourceName` in class `JType`

### isArray

    public JArrayType isArray()

  Specified by:
    `isArray` in class `JType`

### isClass

    public JClassType isClass()

  Specified by:
    `isClass` in class `JType`

### isEnum

    public JEnumType isEnum()

  Description copied from class: `JType`
  Returns this instance if it is an enumeration or `null` if it is not.

  Specified by:
    `isEnum` in class `JType`
  Returns:
    this instance if it is an enumeration or `null` if it is not

### isGenericType

    public JGenericType isGenericType()

  Specified by:
    `isGenericType` in class `JType`

### isInterface

    public JClassType isInterface()

  Specified by:
    `isInterface` in class `JType`

### isParameterized

    public JParameterizedType isParameterized()

  Specified by:
    `isParameterized` in class `JType`

### isPrimitive

    public JPrimitiveType isPrimitive()

  Specified by:
    `isPrimitive` in class `JType`

### isRawType

    public JRawType isRawType()

  Specified by:
    `isRawType` in class `JType`

### isWildcard

    public JWildcardType isWildcard()

  Specified by:
    `isWildcard` in class `JType`

### toString

    public java.lang.String toString()

  Overrides:
    `toString` in class `java.lang.Object`

Overview | Package | Class | Tree | Deprecated | Index | Help
| GWT 2.0.3
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD