Top Inners Fields Constructors Methods
io.vertx.codegen

public abstract Class TypeParamInfo

extends Object
Class Inheritance
Known Direct Subclasses
io.vertx.codegen.TypeParamInfo.Class, io.vertx.codegen.TypeParamInfo.Method
Imports
javax.lang.model.element.ExecutableElement, .Parameterizable, .TypeElement, .TypeParameterElement, java.lang.reflect.GenericDeclaration, .TypeVariable

Author
Julien Viet

Nested and Inner Type Summary

Modifier and TypeClass and Description
public static class
public static class

Field Summary

Modifier and TypeField and Description
protected final int
protected final String

Constructor Summary

AccessConstructor and Description
public
TypeParamInfo(int index, String name)

Method Summary

Modifier and TypeMethod and Description
public static TypeParamInfo
create(TypeVariable<D extends GenericDeclaration> typeVariable)

public static TypeParamInfo
public int
public String
public boolean
public abstract boolean
Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Field Detail

indexback to summary
protected final int index
nameback to summary
protected final String name

Constructor Detail

TypeParamInfoback to summary
public TypeParamInfo(int index, String name)

Method Detail

createback to summary
public static TypeParamInfo create(TypeVariable<D extends GenericDeclaration> typeVariable)
createback to summary
public static TypeParamInfo create(TypeParameterElement paramElt)
getIndexback to summary
public int getIndex()
getNameback to summary
public String getName()
isClassback to summary
public boolean isClass()
isMethodback to summary
public abstract boolean isMethod()
io.vertx.codegen back to summary

public Class TypeParamInfo.Class

extends TypeParamInfo
Class Inheritance

Field Summary

Modifier and TypeField and Description
private final String
Inherited from io.vertx.codegen.TypeParamInfo:
indexname

Constructor Summary

AccessConstructor and Description
public
Class(String typeName, int index, String name)

Method Summary

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

Overrides java.lang.Object.equals.

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

public boolean
public String
toString()

Overrides java.lang.Object.toString.

Returns a string representation of the object.

Inherited from io.vertx.codegen.TypeParamInfo:
createcreategetIndexgetNameisClass

Field Detail

typeNameback to summary
private final String typeName

Constructor Detail

Classback to summary
public Class(String typeName, int index, String name)

Method Detail

equalsback to summary
public boolean equals(Object obj)

Overrides java.lang.Object.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
isMethodback to summary
public boolean isMethod()

Implements abstract io.vertx.codegen.TypeParamInfo.isMethod.

Annotations
@Override
toStringback to summary
public String toString()

Overrides java.lang.Object.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

a string representation of the object

Annotations
@Override
io.vertx.codegen back to summary

public Class TypeParamInfo.Method

extends TypeParamInfo
Class Inheritance

Field Summary

Modifier and TypeField and Description
private final String
private final String
Inherited from io.vertx.codegen.TypeParamInfo:
indexname

Constructor Summary

AccessConstructor and Description
public
Method(String typeName, String methodName, int index, String name)

Method Summary

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

Overrides java.lang.Object.equals.

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

public boolean
public String
toString()

Overrides java.lang.Object.toString.

Returns a string representation of the object.

Inherited from io.vertx.codegen.TypeParamInfo:
createcreategetIndexgetNameisClass

Field Detail

methodNameback to summary
private final String methodName
typeNameback to summary
private final String typeName

Constructor Detail

Methodback to summary
public Method(String typeName, String methodName, int index, String name)

Method Detail

equalsback to summary
public boolean equals(Object obj)

Overrides java.lang.Object.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
isMethodback to summary
public boolean isMethod()

Implements abstract io.vertx.codegen.TypeParamInfo.isMethod.

Annotations
@Override
toStringback to summary
public String toString()

Overrides java.lang.Object.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

a string representation of the object

Annotations
@Override