public final class GenericClass extends GenericType
OBJECT| Constructor and Description |
|---|
GenericClass(String name) |
GenericClass(String name,
List<? extends TypeArgument> arguments) |
GenericClass(String name,
TypeArgument... arguments) |
GenericClass(String name,
TypeVar... arguments) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
GenericType |
erasure() |
List<? extends TypeArgument> |
getArguments() |
String |
getName() |
int |
hashCode() |
GenericClass |
substitute(Substitutions substitutions) |
GenericClass |
substituteArgs(java.util.function.Function<TypeVar,TypeArgument> substitutions) |
public GenericClass(String name)
public GenericClass(String name, TypeArgument... arguments)
public GenericClass(String name, List<? extends TypeArgument> arguments)
public String getName()
public List<? extends TypeArgument> getArguments()
public GenericClass substitute(Substitutions substitutions)
substitute in class GenericTypepublic GenericClass substituteArgs(java.util.function.Function<TypeVar,TypeArgument> substitutions)
substituteArgs in class GenericTypepublic GenericType erasure()
erasure in class GenericTypeCopyright © 2019. All rights reserved.