Top Fields Constructors Methods
io.vertx.codegen.type

public Class PrimitiveTypeInfo

extends TypeInfo
Class Inheritance
Imports
java.util.HashMap

Author
Julien Viet

Field Summary

Modifier and TypeField and Description
public static final PrimitiveTypeInfo
pack-priv final String
public static final PrimitiveTypeInfo
public static final PrimitiveTypeInfo
public static final PrimitiveTypeInfo
public static final PrimitiveTypeInfo
public static final PrimitiveTypeInfo
public static final PrimitiveTypeInfo
pack-priv final String
pack-priv static final HashMap<String, PrimitiveTypeInfo>
public static final PrimitiveTypeInfo

Constructor Summary

AccessConstructor and Description
private
PrimitiveTypeInfo(String name, String boxedName)

Method Summary

Modifier and TypeMethod and Description
public boolean
equals(Object
the reference object with which to compare.
obj
)

Implements abstract io.vertx.codegen.type.TypeInfo.equals.

Indicates whether some other object is "equal to" this one.

public String
format(boolean
true when class fqcn should be used, otherwise simple names will be used
qualified
)

Implements abstract io.vertx.codegen.type.TypeInfo.format.

Renders the type name.

public ClassTypeInfo

Returns:

the boxed equivalent
getBoxed
()

public ClassKind
Inherited from io.vertx.codegen.type.TypeInfo:
collectImportsgetDataObjectgetErasedgetNamegetRawgetSimpleNamehashCodeisDataObjectHolderisNullableisParameterizedisVariableisVoidtoStringtranslateNametranslateName

Field Detail

BOOLEANback to summary
public static final PrimitiveTypeInfo BOOLEAN
boxedNameback to summary
pack-priv final String boxedName
BYTEback to summary
public static final PrimitiveTypeInfo BYTE
CHARback to summary
public static final PrimitiveTypeInfo CHAR
DOUBLEback to summary
public static final PrimitiveTypeInfo DOUBLE
FLOATback to summary
public static final PrimitiveTypeInfo FLOAT
INTback to summary
public static final PrimitiveTypeInfo INT
LONGback to summary
public static final PrimitiveTypeInfo LONG
nameback to summary
pack-priv final String name
PRIMITIVESback to summary
pack-priv static final HashMap<String, PrimitiveTypeInfo> PRIMITIVES
SHORTback to summary
public static final PrimitiveTypeInfo SHORT

Constructor Detail

PrimitiveTypeInfoback to summary
private PrimitiveTypeInfo(String name, String boxedName)

Method Detail

equalsback to summary
public boolean equals(Object obj)

Implements abstract io.vertx.codegen.type.TypeInfo.equals.

Doc from java.lang.Object.equals.

Indicates whether some other object is "equal to" this one.

The equals method implements an equivalence relation on non-null object references:

  • It is reflexive: for any non-null reference value x, x.equals(x) should return true.
  • It is symmetric: for any non-null reference values x and y, x.equals(y) should return true if and only if y.equals(x) returns true.
  • It is transitive: for any non-null reference values x, y, and z, if x.equals(y) returns true and y.equals(z) returns true, then x.equals(z) should return true.
  • It is consistent: for any non-null reference values x and y, multiple invocations of x.equals(y) consistently return true or consistently return false, provided no information used in equals comparisons on the objects is modified.
  • For any non-null reference value x, x.equals(null) should return false.

An equivalence relation partitions the elements it operates on into equivalence classes; all the members of an equivalence class are equal to each other. Members of an equivalence class are substitutable for each other, at least for some purposes.

Parameters
obj:Object

the reference object with which to compare.

Returns:boolean

true if this object is the same as the obj argument; false otherwise.

Annotations
@Override
formatback to summary
public String format(boolean qualified)

Implements abstract io.vertx.codegen.type.TypeInfo.format.

Doc from io.vertx.codegen.type.TypeInfo.format.

Renders the type name.

Parameters
qualified:boolean

true when class fqcn should be used, otherwise simple names will be used

Returns:String

the representation of the type

Annotations
@Override
getBoxedback to summary
public ClassTypeInfo getBoxed()
Returns:ClassTypeInfo

the boxed equivalent

getKindback to summary
public ClassKind getKind()

Implements abstract io.vertx.codegen.type.TypeInfo.getKind.

Returns:ClassKind

Doc from io.vertx.codegen.type.TypeInfo.getKind.

the class kind this type resolves to

Annotations
@Override