Mirror API

com.sun.mirror.type
Interface PrimitiveType

All Superinterfaces:
TypeMirror

public interface PrimitiveType
extends TypeMirror

Represents a primitive type. These include boolean, byte, short, int, long, char, float, and double.

Since:
1.5

Nested Class Summary
static class PrimitiveType.Kind
          An enumeration of the different kinds of primitive types.
 
Method Summary
 PrimitiveType.Kind getKind()
          Returns the kind of primitive type that this object represents.
 
Methods inherited from interface com.sun.mirror.type.TypeMirror
accept, equals, toString
 

Method Detail

getKind

PrimitiveType.Kind getKind()
Returns the kind of primitive type that this object represents.

Returns:
the kind of primitive type that this object represents

Mirror API

Submit a bug or feature
Copyright © 2004, 2011, Oracle and/or its affiliates. All rights reserved.