public class TClass<T> extends TObject implements TAnnotatedElement
clone, equals, equals0, finalize, getClass0, hashCode, notify0, notifyAll0, toString, wait0, wait0, waitImpl
getAnnotationsByType, getDeclaredAnnotation, getDeclaredAnnotationsByType
public static TClass<?> getClass(PlatformClass cls)
public PlatformClass getPlatformClass()
public boolean isInstance(TObject obj)
public boolean isAssignableFrom(TClass<?> obj)
public String getName()
public String getSimpleName()
public boolean isPrimitive()
public boolean isArray()
public boolean isEnum()
public boolean isInterface()
public TClass<?> getComponentType()
public TField[] getDeclaredFields() throws TSecurityException
TSecurityException
public TField[] getFields() throws TSecurityException
TSecurityException
public TField getDeclaredField(String name) throws TNoSuchFieldError
TNoSuchFieldError
public TField getField(String name) throws TNoSuchFieldError
TNoSuchFieldError
public <T> T newEmptyInstance()
public TConstructor<?>[] getDeclaredConstructors() throws TSecurityException
TSecurityException
public TConstructor<?>[] getConstructors() throws TSecurityException
TSecurityException
public TConstructor<T> getDeclaredConstructor(TClass<?>... parameterTypes) throws TSecurityException, TNoSuchMethodException
public TConstructor<T> getConstructor(TClass<?>... parameterTypes) throws TSecurityException, TNoSuchMethodException
public TMethod[] getDeclaredMethods()
public TMethod getDeclaredMethod(String name, TClass<?>... parameterTypes) throws TNoSuchMethodException, TSecurityException
public TMethod[] getMethods() throws TSecurityException
TSecurityException
public TMethod getMethod(String name, TClass<?>... parameterTypes) throws TNoSuchMethodException, TSecurityException
public int getModifiers()
public boolean desiredAssertionStatus()
public T[] getEnumConstants()
public TClassLoader getClassLoader()
public static TClass<?> forName(TString name) throws TClassNotFoundException
TClassNotFoundException
public static TClass<?> forName(TString name, boolean initialize, TClassLoader loader) throws TClassNotFoundException
TClassNotFoundException
public T newInstance() throws TInstantiationException, TIllegalAccessException
public TClass<?> getDeclaringClass()
public boolean isAnnotationPresent(TClass<? extends TAnnotation> annotationClass)
isAnnotationPresent
in interface TAnnotatedElement
public <S extends TAnnotation> S getAnnotation(TClass<S> annotationClass)
getAnnotation
in interface TAnnotatedElement
public TAnnotation[] getAnnotations()
getAnnotations
in interface TAnnotatedElement
public TAnnotation[] getDeclaredAnnotations()
getDeclaredAnnotations
in interface TAnnotatedElement
public InputStream getResourceAsStream(String name)
public TPackage getPackage()
Copyright © 2019. All rights reserved.