| Package | Description | 
|---|---|
| javax.lang.model.type | Interfaces used to model Java programming language types. | 
| javax.lang.model.util | Utilities to assist in the processing of
 program elements and
 types. | 
| Modifier and Type | Method and Description | 
|---|---|
| R | TypeVisitor. visitPrimitive(PrimitiveType t,
              P p)Visits a primitive type. | 
| Modifier and Type | Method and Description | 
|---|---|
| PrimitiveType | Types. getPrimitiveType(TypeKind kind)Returns a primitive type. | 
| PrimitiveType | Types. unboxedType(TypeMirror t)Returns the type (a primitive type) of unboxed values of a given type. | 
| Modifier and Type | Method and Description | 
|---|---|
| TypeElement | Types. boxedClass(PrimitiveType p)Returns the class of a boxed value of a given primitive type. | 
| R | SimpleTypeVisitor6. visitPrimitive(PrimitiveType t,
              P p)Visits a primitive type. | 
| R | TypeKindVisitor6. visitPrimitive(PrimitiveType t,
              P p)Visits a primitive type, dispatching to the visit method for
 the specific kind of primitive type:
  BOOLEAN,BYTE, etc. | 
| R | TypeKindVisitor6. visitPrimitiveAsBoolean(PrimitiveType t,
                       P p)Visits a  BOOLEANprimitive type by callingdefaultAction. | 
| R | TypeKindVisitor6. visitPrimitiveAsByte(PrimitiveType t,
                    P p)Visits a  BYTEprimitive type by callingdefaultAction. | 
| R | TypeKindVisitor6. visitPrimitiveAsChar(PrimitiveType t,
                    P p)Visits a  CHARprimitive type by callingdefaultAction. | 
| R | TypeKindVisitor6. visitPrimitiveAsDouble(PrimitiveType t,
                      P p)Visits a  DOUBLEprimitive type by callingdefaultAction. | 
| R | TypeKindVisitor6. visitPrimitiveAsFloat(PrimitiveType t,
                     P p)Visits a  FLOATprimitive type by callingdefaultAction. | 
| R | TypeKindVisitor6. visitPrimitiveAsInt(PrimitiveType t,
                   P p)Visits an  INTprimitive type by callingdefaultAction. | 
| R | TypeKindVisitor6. visitPrimitiveAsLong(PrimitiveType t,
                    P p)Visits a  LONGprimitive type by callingdefaultAction. | 
| R | TypeKindVisitor6. visitPrimitiveAsShort(PrimitiveType t,
                     P p)Visits a  SHORTprimitive type by callingdefaultAction. | 
 Submit a bug or feature 
For further API reference and developer documentation, see Java SE Documentation. That documentation contains more detailed, developer-targeted descriptions, with conceptual overviews, definitions of terms, workarounds, and working code examples.
 Copyright © 1993, 2017, Oracle and/or its affiliates.  All rights reserved. Use is subject to license terms. Also see the documentation redistribution policy.