APIdia Launch Partner
Top Description Methods
com.sun.source.tree

public Interface PrimitiveTypeTree

extends Tree
Known Direct Implementers
com.sun.tools.javac.tree.JCTree.JCPrimitiveTypeTree
Imports
javax.lang.model.type.TypeKind

A tree node for a primitive type. For example:
  primitiveTypeKind
Authors
Peter von der Ahé, Jonathan Gibbons
Since
1.6
Java Language Specification
4.2 Primitive Types and Values

Method Summary

Modifier and TypeMethod and Description
public TypeKind

Returns:

the kind of the type
getPrimitiveTypeKind
()

Returns the kind of this primitive type.

Inherited from com.sun.source.tree.Tree:
acceptgetKind

Method Detail

getPrimitiveTypeKindback to summary
public TypeKind getPrimitiveTypeKind()

Returns the kind of this primitive type.

Returns:TypeKind

the kind of the type