Package io.ran
Class Clazz<T>
java.lang.Object
io.ran.Clazz<T>
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionboolean
boolean
boolean
Clazz<?>
findGenericSuper
(Class<?> ofClazz) Clazz<?>
Clazz<?>
getBoxed()
Clazz<?>
static Clazz<?>
getInt()
getKeys()
Clazz<?>
int
static Clazz<?>
getShort()
Clazz<?>
getSuper()
getToken()
getType()
Clazz<?>
static Clazz<?>
getVoid()
int
hashCode()
boolean
boolean
isArray()
boolean
boolean
boolean
boolean
static boolean
isPropertyField
(Field field) static boolean
isPublicStatic
(Field field) static boolean
isRelationField
(Field field) boolean
isVoid()
methods()
name()
static Clazz<?>
static Clazz
protected static Clazz
static Clazz
static <T> Clazz<T>
static Clazz
static Clazz
static <T> Clazz<T>
int
size()
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()
-