Top Fields Constructors Methods
io.vertx.codegen.type

public Class TypeVariableInfo

extends TypeInfo
Class Inheritance
Imports
io.vertx.codegen.TypeParamInfo, java.util.Collections

Author
Julien Viet

Field Summary

Modifier and TypeField and Description
pack-priv final String
pack-priv final boolean
pack-priv final TypeParamInfo

Constructor Summary

AccessConstructor and Description
public
TypeVariableInfo(TypeParamInfo param, boolean nullable, String name)

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 TypeInfo
public ClassKind
public TypeParamInfo
public boolean
public boolean
public boolean
public boolean
public String
toString()

Overrides io.vertx.codegen.type.TypeInfo.toString.

Returns a string representation of the object.

Inherited from io.vertx.codegen.type.TypeInfo:
collectImportsgetDataObjectgetNamegetRawgetSimpleNamehashCodeisDataObjectHolderisParameterizedisVoidtranslateNametranslateName

Field Detail

nameback to summary
pack-priv final String name
nullableback to summary
pack-priv final boolean nullable
paramback to summary
pack-priv final TypeParamInfo param

Constructor Detail

TypeVariableInfoback to summary
public TypeVariableInfo(TypeParamInfo param, boolean nullable, String name)

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
getErasedback to summary
public TypeInfo getErased()

Overrides io.vertx.codegen.type.TypeInfo.getErased.

Returns:TypeInfo

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

the erased type of this type

Annotations
@Override
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
getParamback to summary
public TypeParamInfo getParam()
isClassParamback to summary
public boolean isClassParam()
isMethodParamback to summary
public boolean isMethodParam()
isNullableback to summary
public boolean isNullable()

Overrides io.vertx.codegen.type.TypeInfo.isNullable.

Returns:boolean

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

true if the type is nullable

Annotations
@Override
isVariableback to summary
public boolean isVariable()

Overrides io.vertx.codegen.type.TypeInfo.isVariable.

Returns:boolean

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

true if the type is a type variable

Annotations
@Override
toStringback to summary
public String toString()

Overrides io.vertx.codegen.type.TypeInfo.toString.

Doc from java.lang.Object.toString.

Returns a string representation of the object. Satisfying this method's contract implies a non-null result must be returned.

Returns:String

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

the @{link #getName} value of this type

Annotations
@Override