public class Type extends Object
| Modifier and Type | Class and Description |
|---|---|
static class |
Type.ArrayType |
static class |
Type.ClassType |
static class |
Type.MethodType |
static class |
Type.ParametrizedTypeType |
static class |
Type.TypeVariableType |
| Modifier and Type | Field and Description |
|---|---|
static int |
ARRAY |
static int |
BOOLEAN |
static int |
BOT |
static int |
BYTE |
static int |
CHAR |
static int |
CLASS |
static int |
DOUBLE |
static int |
FLOAT |
static int |
INT |
static int |
LONG |
static int |
METHOD |
static int |
SHORT |
static int |
TYPEVAR |
static int |
UNKNOWN |
static int |
VOID |
| Constructor and Description |
|---|
Type(int tag,
Symbol.TypeSymbol symbol) |
| Modifier and Type | Method and Description |
|---|---|
Type |
erasure()
JLS8 4.6
|
Symbol.TypeSymbol |
getSymbol() |
boolean |
is(String fullyQualifiedName) |
boolean |
isNumerical() |
boolean |
isParametrized() |
boolean |
isPrimitive() |
boolean |
isPrimitiveWrapper() |
boolean |
isSubtypeOf(String fullyQualifiedName) |
boolean |
isTagged(int tag) |
String |
toString() |
public static final int BYTE
public static final int CHAR
public static final int SHORT
public static final int INT
public static final int LONG
public static final int FLOAT
public static final int DOUBLE
public static final int BOOLEAN
public static final int VOID
public static final int CLASS
public static final int ARRAY
public static final int METHOD
public static final int BOT
public static final int UNKNOWN
public static final int TYPEVAR
public Type(int tag,
Symbol.TypeSymbol symbol)
public boolean isTagged(int tag)
public boolean isNumerical()
public Symbol.TypeSymbol getSymbol()
public boolean is(String fullyQualifiedName)
public boolean isSubtypeOf(String fullyQualifiedName)
public boolean isParametrized()
public Type erasure()
public boolean isPrimitive()
public boolean isPrimitiveWrapper()
Copyright © 2012–2015 SonarSource. All rights reserved.