Package io.ran
Class Clazz<T>
java.lang.Object
io.ran.Clazz<T>
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanbooleanbooleanClazz<?>findGenericSuper(Class<?> ofClazz) Clazz<?>Clazz<?>getBoxed()Clazz<?>static Clazz<?>getInt()getKeys()Clazz<?>intstatic Clazz<?>getShort()Clazz<?>getSuper()getToken()getType()Clazz<?>static Clazz<?>getVoid()inthashCode()booleanbooleanisArray()booleanbooleanbooleanbooleanstatic booleanisPropertyField(Field field) static booleanisPublicStatic(Field field) static booleanisRelationField(Field field) booleanisVoid()methods()name()static Clazz<?>static Clazzprotected static Clazzstatic Clazzstatic <T> Clazz<T>static Clazzstatic Clazzstatic <T> Clazz<T>intsize()toString()
-
Field Details
-
className
-
clazz
-
generics
-
genericMap
-
-
Constructor Details
-
Clazz
-
Clazz
-
Clazz
-
-
Method Details
-
raw
-
of
-
of
-
ofClasses
-
ofClazzes
-
ofClazzes
-
of
-
getVoid
-
getInt
-
getShort
-
of
-
is
-
getUnBoxSignature
-
getUnBoxed
-
getBoxed
-
getInternalName
-
isPrimitive
public boolean isPrimitive() -
isDecimal
public boolean isDecimal() -
isArray
public boolean isArray() -
getComponentType
-
getArrayType
-
size
public int size() -
isBoxedPrimitive
public boolean isBoxedPrimitive() -
getPrimitive
-
getSuper
-
getInterfaces
- Returns:
- Set of directly implemented/extended interfaces
-
getAssignableClazzes
- Returns:
- Set of Clazzes that are assignable from this Clazz
-
getPrimitiveOffset
public int getPrimitiveOffset() -
getDescriptor
-
getSignature
-
equals
-
hashCode
public int hashCode() -
name
-
toString
-
classRepresentation
-
representation
-
isInterface
public boolean isInterface() -
clazzRepresentation
-
getToken
-
getSimpleName
-
getKeys
-
getAnnotations
-
getAllFields
-
getProperties
-
methods
-
isPropertyField
-
isPublicStatic
-
isRelationField
-
getFields
-
getRelationFields
-
getPropertyFields
-
getDeclaredPropertyFields
-
getDefaultValue
-
getType
-
findGenericSuper
- Parameters:
ofClazz- superclass or generic interface of `this`- Returns:
- Clazz<?> of `ofClazz` with generics set as specified by `this`
-
equalsRaw
-
declaresMethod
-
isVoid
public boolean isVoid()
-