Package com.rosetta.util.types
Class JavaGenericTypeDeclaration<T>
java.lang.Object
com.rosetta.util.types.JavaGenericTypeDeclaration<T>
- All Implemented Interfaces:
JavaTypeDeclaration<T>
- Direct Known Subclasses:
GeneratedJavaGenericTypeDeclaration,JavaGenericTypeDeclaration.JavaGenericTypeDeclarationImpl
public abstract class JavaGenericTypeDeclaration<T>
extends Object
implements JavaTypeDeclaration<T>
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionprotected static class -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionapplySubstitution(Map<JavaTypeVariable, JavaTypeArgument> substitution) booleanstatic <T> JavaGenericTypeDeclaration<T> from(com.fasterxml.jackson.core.type.TypeReference<T> typeRef) static <T> JavaGenericTypeDeclaration<T> abstract List<JavaTypeVariable> inthashCode()toString()Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface com.rosetta.util.types.JavaTypeDeclaration
extendsDeclaration, getCanonicalName, getInterfaceDeclarations, getSimpleName, getSuperclassDeclaration, isFinal, loadClass
-
Constructor Details
-
JavaGenericTypeDeclaration
public JavaGenericTypeDeclaration()
-
-
Method Details
-
from
-
from
public static <T> JavaGenericTypeDeclaration<T> from(com.fasterxml.jackson.core.type.TypeReference<T> typeRef) -
getBaseType
-
getParameters
-
getSuperclass
-
getInterfaces
-
getPackageName
- Specified by:
getPackageNamein interfaceJavaTypeDeclaration<T>
-
getNestedTypeName
- Specified by:
getNestedTypeNamein interfaceJavaTypeDeclaration<T>
-
applySubstitution
public JavaParameterizedType<T> applySubstitution(Map<JavaTypeVariable, JavaTypeArgument> substitution) - Specified by:
applySubstitutionin interfaceJavaTypeDeclaration<T>
-
toString
-
hashCode
public int hashCode() -
equals
-