RingJavafor Ring

java.lang.reflect

34 classes of the module java.base.

Load them with:

using {
	"java.lang.reflect"
}

All packages

AccessFlag#

enum · extends Enum · java.lang.reflect.AccessFlag

Fields

NameTypeAccessIn Ring
PUBLICAccessFlagconstant · statico.PUBLIC
PRIVATEAccessFlagconstant · statico.@PRIVATE
PROTECTEDAccessFlagconstant · statico.PROTECTED
STATICAccessFlagconstant · statico.STATIC
FINALAccessFlagconstant · statico.FINAL
SUPERAccessFlagconstant · statico.SUPER
OPENAccessFlagconstant · statico.OPEN
TRANSITIVEAccessFlagconstant · statico.TRANSITIVE
SYNCHRONIZEDAccessFlagconstant · statico.SYNCHRONIZED
STATIC_PHASEAccessFlagconstant · statico.STATIC_PHASE
VOLATILEAccessFlagconstant · statico.VOLATILE
BRIDGEAccessFlagconstant · statico.BRIDGE
TRANSIENTAccessFlagconstant · statico.TRANSIENT
VARARGSAccessFlagconstant · statico.VARARGS
NATIVEAccessFlagconstant · statico.NATIVE
INTERFACEAccessFlagconstant · statico.INTERFACE
ABSTRACTAccessFlagconstant · statico.ABSTRACT
STRICTAccessFlagconstant · statico.STRICT
SYNTHETICAccessFlagconstant · statico.SYNTHETIC
ANNOTATIONAccessFlagconstant · statico.ANNOTATION
ENUMAccessFlagconstant · statico.ENUM
MANDATEDAccessFlagconstant · statico.MANDATED
MODULEAccessFlagconstant · statico.MODULE

Methods

MethodRing callJava overloads
@locations@locations(cffv)Set locations(ClassFileFormatVersion cffv)
locationslocations()Set locations()
maskmask()int mask()
maskToAccessFlagsmaskToAccessFlags([mask,location])
maskToAccessFlags([ :mask = v, :location = v ])
maskToAccessFlags([mask,location,cffv])
maskToAccessFlags([ :mask = v, :location = v, :cffv = v ])
static Set maskToAccessFlags(int mask, Location location)
static Set maskToAccessFlags(int mask, Location location, ClassFileFormatVersion cffv)
sourceModifiersourceModifier()boolean sourceModifier()
valueOfvalueOf(p1)
valueOf([enumClass,name])
valueOf([ :enumClass = v, :name = v ])
static AccessFlag valueOf(String p1)
static Enum valueOf(Class enumClass, String name)
valuesvalues()static AccessFlag[] values()

The methods and fields of Enum are inherited.

AccessFlagLocation#

enum · extends Enum · java.lang.reflect.AccessFlag$Location

Fields

NameTypeAccessIn Ring
CLASSLocationconstant · statico.@CLASS
FIELDLocationconstant · statico.FIELD
METHODLocationconstant · statico.METHOD
INNER_CLASSLocationconstant · statico.INNER_CLASS
METHOD_PARAMETERLocationconstant · statico.METHOD_PARAMETER
MODULELocationconstant · statico.MODULE
MODULE_REQUIRESLocationconstant · statico.MODULE_REQUIRES
MODULE_EXPORTSLocationconstant · statico.MODULE_EXPORTS
MODULE_OPENSLocationconstant · statico.MODULE_OPENS

Methods

MethodRing callJava overloads
@flags@flags(cffv)Set flags(ClassFileFormatVersion cffv)
@flagsMask@flagsMask(cffv)int flagsMask(ClassFileFormatVersion cffv)
flagsflags()Set flags()
flagsMaskflagsMask()int flagsMask()
valueOfvalueOf(p1)
valueOf([enumClass,name])
valueOf([ :enumClass = v, :name = v ])
static Location valueOf(String p1)
static Enum valueOf(Class enumClass, String name)
valuesvalues()static Location[] values()

The methods and fields of Enum are inherited.

AccessibleObject#

class · extends Object · java.lang.reflect.AccessibleObject

Implements: AnnotatedElement

Methods

MethodRing callJava overloads
canAccesscanAccess(obj)boolean canAccess(Object obj)
getAnnotationgetAnnotation(annotationClass)Annotation getAnnotation(Class annotationClass)
getAnnotationsgetAnnotations()Annotation[] getAnnotations()
getAnnotationsByTypegetAnnotationsByType(annotationClass)Annotation[] getAnnotationsByType(Class annotationClass)
getDeclaredAnnotationgetDeclaredAnnotation(annotationClass)Annotation getDeclaredAnnotation(Class annotationClass)
getDeclaredAnnotationsgetDeclaredAnnotations()Annotation[] getDeclaredAnnotations()
getDeclaredAnnotationsByTypegetDeclaredAnnotationsByType(annotationClass)Annotation[] getDeclaredAnnotationsByType(Class annotationClass)
isAccessibleisAccessible()boolean isAccessible()
isAnnotationPresentisAnnotationPresent(annotationClass)boolean isAnnotationPresent(Class annotationClass)
setAccessiblesetAccessible(flag)
setAccessible([array,flag])
setAccessible([ :array = v, :flag = v ])
void setAccessible(boolean flag)
static void setAccessible(AccessibleObject[] array, boolean flag)
trySetAccessibletrySetAccessible()boolean trySetAccessible()

The methods and fields of Object are inherited.

AnnotatedArrayType#

interface · java.lang.reflect.AnnotatedArrayType

Extends: AnnotatedType

Methods

MethodRing callJava overloads
getAnnotatedGenericComponentTypegetAnnotatedGenericComponentType()AnnotatedType getAnnotatedGenericComponentType()
getAnnotatedOwnerTypegetAnnotatedOwnerType()AnnotatedType getAnnotatedOwnerType()
getAnnotationgetAnnotation(annotationClass)Annotation getAnnotation(Class annotationClass)
getAnnotationsgetAnnotations()Annotation[] getAnnotations()
getAnnotationsByTypegetAnnotationsByType(annotationClass)Annotation[] getAnnotationsByType(Class annotationClass)
getDeclaredAnnotationgetDeclaredAnnotation(annotationClass)Annotation getDeclaredAnnotation(Class annotationClass)
getDeclaredAnnotationsgetDeclaredAnnotations()Annotation[] getDeclaredAnnotations()
getDeclaredAnnotationsByTypegetDeclaredAnnotationsByType(annotationClass)Annotation[] getDeclaredAnnotationsByType(Class annotationClass)
getTypegetType()Type getType()
isAnnotationPresentisAnnotationPresent(annotationClass)boolean isAnnotationPresent(Class annotationClass)

AnnotatedElement#

interface · java.lang.reflect.AnnotatedElement

Methods

MethodRing callJava overloads
getAnnotationgetAnnotation(annotationClass)Annotation getAnnotation(Class annotationClass)
getAnnotationsgetAnnotations()Annotation[] getAnnotations()
getAnnotationsByTypegetAnnotationsByType(annotationClass)Annotation[] getAnnotationsByType(Class annotationClass)
getDeclaredAnnotationgetDeclaredAnnotation(annotationClass)Annotation getDeclaredAnnotation(Class annotationClass)
getDeclaredAnnotationsgetDeclaredAnnotations()Annotation[] getDeclaredAnnotations()
getDeclaredAnnotationsByTypegetDeclaredAnnotationsByType(annotationClass)Annotation[] getDeclaredAnnotationsByType(Class annotationClass)
isAnnotationPresentisAnnotationPresent(annotationClass)boolean isAnnotationPresent(Class annotationClass)

AnnotatedParameterizedType#

interface · java.lang.reflect.AnnotatedParameterizedType

Extends: AnnotatedType

Methods

MethodRing callJava overloads
getAnnotatedActualTypeArgumentsgetAnnotatedActualTypeArguments()AnnotatedType[] getAnnotatedActualTypeArguments()
getAnnotatedOwnerTypegetAnnotatedOwnerType()AnnotatedType getAnnotatedOwnerType()
getAnnotationgetAnnotation(annotationClass)Annotation getAnnotation(Class annotationClass)
getAnnotationsgetAnnotations()Annotation[] getAnnotations()
getAnnotationsByTypegetAnnotationsByType(annotationClass)Annotation[] getAnnotationsByType(Class annotationClass)
getDeclaredAnnotationgetDeclaredAnnotation(annotationClass)Annotation getDeclaredAnnotation(Class annotationClass)
getDeclaredAnnotationsgetDeclaredAnnotations()Annotation[] getDeclaredAnnotations()
getDeclaredAnnotationsByTypegetDeclaredAnnotationsByType(annotationClass)Annotation[] getDeclaredAnnotationsByType(Class annotationClass)
getTypegetType()Type getType()
isAnnotationPresentisAnnotationPresent(annotationClass)boolean isAnnotationPresent(Class annotationClass)

AnnotatedType#

interface · java.lang.reflect.AnnotatedType

Extends: AnnotatedElement

Methods

MethodRing callJava overloads
getAnnotatedOwnerTypegetAnnotatedOwnerType()AnnotatedType getAnnotatedOwnerType()
getAnnotationgetAnnotation(annotationClass)Annotation getAnnotation(Class annotationClass)
getAnnotationsgetAnnotations()Annotation[] getAnnotations()
getAnnotationsByTypegetAnnotationsByType(annotationClass)Annotation[] getAnnotationsByType(Class annotationClass)
getDeclaredAnnotationgetDeclaredAnnotation(annotationClass)Annotation getDeclaredAnnotation(Class annotationClass)
getDeclaredAnnotationsgetDeclaredAnnotations()Annotation[] getDeclaredAnnotations()
getDeclaredAnnotationsByTypegetDeclaredAnnotationsByType(annotationClass)Annotation[] getDeclaredAnnotationsByType(Class annotationClass)
getTypegetType()Type getType()
isAnnotationPresentisAnnotationPresent(annotationClass)boolean isAnnotationPresent(Class annotationClass)

AnnotatedTypeVariable#

interface · java.lang.reflect.AnnotatedTypeVariable

Extends: AnnotatedType

Methods

MethodRing callJava overloads
getAnnotatedBoundsgetAnnotatedBounds()AnnotatedType[] getAnnotatedBounds()
getAnnotatedOwnerTypegetAnnotatedOwnerType()AnnotatedType getAnnotatedOwnerType()
getAnnotationgetAnnotation(annotationClass)Annotation getAnnotation(Class annotationClass)
getAnnotationsgetAnnotations()Annotation[] getAnnotations()
getAnnotationsByTypegetAnnotationsByType(annotationClass)Annotation[] getAnnotationsByType(Class annotationClass)
getDeclaredAnnotationgetDeclaredAnnotation(annotationClass)Annotation getDeclaredAnnotation(Class annotationClass)
getDeclaredAnnotationsgetDeclaredAnnotations()Annotation[] getDeclaredAnnotations()
getDeclaredAnnotationsByTypegetDeclaredAnnotationsByType(annotationClass)Annotation[] getDeclaredAnnotationsByType(Class annotationClass)
getTypegetType()Type getType()
isAnnotationPresentisAnnotationPresent(annotationClass)boolean isAnnotationPresent(Class annotationClass)

AnnotatedWildcardType#

interface · java.lang.reflect.AnnotatedWildcardType

Extends: AnnotatedType

Methods

MethodRing callJava overloads
getAnnotatedLowerBoundsgetAnnotatedLowerBounds()AnnotatedType[] getAnnotatedLowerBounds()
getAnnotatedOwnerTypegetAnnotatedOwnerType()AnnotatedType getAnnotatedOwnerType()
getAnnotatedUpperBoundsgetAnnotatedUpperBounds()AnnotatedType[] getAnnotatedUpperBounds()
getAnnotationgetAnnotation(annotationClass)Annotation getAnnotation(Class annotationClass)
getAnnotationsgetAnnotations()Annotation[] getAnnotations()
getAnnotationsByTypegetAnnotationsByType(annotationClass)Annotation[] getAnnotationsByType(Class annotationClass)
getDeclaredAnnotationgetDeclaredAnnotation(annotationClass)Annotation getDeclaredAnnotation(Class annotationClass)
getDeclaredAnnotationsgetDeclaredAnnotations()Annotation[] getDeclaredAnnotations()
getDeclaredAnnotationsByTypegetDeclaredAnnotationsByType(annotationClass)Annotation[] getDeclaredAnnotationsByType(Class annotationClass)
getTypegetType()Type getType()
isAnnotationPresentisAnnotationPresent(annotationClass)boolean isAnnotationPresent(Class annotationClass)

Array#

class final · extends Object · java.lang.reflect.Array

Methods

MethodRing callJava overloads
@get@get(array,index)static Object get(Object array, int index)
getBooleangetBoolean(array,index)static boolean getBoolean(Object array, int index)
getBytegetByte(array,index)static byte getByte(Object array, int index)
getChargetChar(array,index)static char getChar(Object array, int index)
getDoublegetDouble(array,index)static double getDouble(Object array, int index)
getFloatgetFloat(array,index)static float getFloat(Object array, int index)
getIntgetInt(array,index)static int getInt(Object array, int index)
getLengthgetLength(array)static int getLength(Object array)
getLonggetLong(array,index)static long getLong(Object array, int index)
getShortgetShort(array,index)static short getShort(Object array, int index)
newInstancenewInstance(componentType,length)static Object newInstance(Class componentType, int length)
static Object newInstance(Class componentType, int[] dimensions)
setset(array,index,value)static void set(Object array, int index, Object value)
setBooleansetBoolean(array,index,z)static void setBoolean(Object array, int index, boolean z)
setBytesetByte(array,index,b)static void setByte(Object array, int index, byte b)
setCharsetChar(array,index,c)static void setChar(Object array, int index, char c)
setDoublesetDouble(array,index,d)static void setDouble(Object array, int index, double d)
setFloatsetFloat(array,index,f)static void setFloat(Object array, int index, float f)
setIntsetInt(array,index,i)static void setInt(Object array, int index, int i)
setLongsetLong(array,index,l)static void setLong(Object array, int index, long l)
setShortsetShort(array,index,s)static void setShort(Object array, int index, short s)

The methods and fields of Object are inherited.

ClassFileFormatVersion#

enum · extends Enum · java.lang.reflect.ClassFileFormatVersion

Fields

NameTypeAccessIn Ring
RELEASE_0ClassFileFormatVersionconstant · statico.RELEASE_0
RELEASE_1ClassFileFormatVersionconstant · statico.RELEASE_1
RELEASE_2ClassFileFormatVersionconstant · statico.RELEASE_2
RELEASE_3ClassFileFormatVersionconstant · statico.RELEASE_3
RELEASE_4ClassFileFormatVersionconstant · statico.RELEASE_4
RELEASE_5ClassFileFormatVersionconstant · statico.RELEASE_5
RELEASE_6ClassFileFormatVersionconstant · statico.RELEASE_6
RELEASE_7ClassFileFormatVersionconstant · statico.RELEASE_7
RELEASE_8ClassFileFormatVersionconstant · statico.RELEASE_8
RELEASE_9ClassFileFormatVersionconstant · statico.RELEASE_9
RELEASE_10ClassFileFormatVersionconstant · statico.RELEASE_10
RELEASE_11ClassFileFormatVersionconstant · statico.RELEASE_11
RELEASE_12ClassFileFormatVersionconstant · statico.RELEASE_12
RELEASE_13ClassFileFormatVersionconstant · statico.RELEASE_13
RELEASE_14ClassFileFormatVersionconstant · statico.RELEASE_14
RELEASE_15ClassFileFormatVersionconstant · statico.RELEASE_15
RELEASE_16ClassFileFormatVersionconstant · statico.RELEASE_16
RELEASE_17ClassFileFormatVersionconstant · statico.RELEASE_17
RELEASE_18ClassFileFormatVersionconstant · statico.RELEASE_18
RELEASE_19ClassFileFormatVersionconstant · statico.RELEASE_19
RELEASE_20ClassFileFormatVersionconstant · statico.RELEASE_20
RELEASE_21ClassFileFormatVersionconstant · statico.RELEASE_21
RELEASE_22ClassFileFormatVersionconstant · statico.RELEASE_22
RELEASE_23ClassFileFormatVersionconstant · statico.RELEASE_23
RELEASE_24ClassFileFormatVersionconstant · statico.RELEASE_24
RELEASE_25ClassFileFormatVersionconstant · statico.RELEASE_25

Methods

MethodRing callJava overloads
fromMajorfromMajor(major)static ClassFileFormatVersion fromMajor(int major)
latestlatest()static ClassFileFormatVersion latest()
majormajor()int major()
runtimeVersionruntimeVersion()Version runtimeVersion()
valueOfvalueOf(rv)
valueOf([enumClass,name])
valueOf([ :enumClass = v, :name = v ])
static ClassFileFormatVersion valueOf(String rv)
static ClassFileFormatVersion valueOf(Version rv)
static Enum valueOf(Class enumClass, String name)
valuesvalues()static ClassFileFormatVersion[] values()

The methods and fields of Enum are inherited.

Constructor#

class final · extends Executable · java.lang.reflect.Constructor

Methods

MethodRing callJava overloads
newInstancenewInstance(initargs)Object newInstance(Object[] initargs)

The methods and fields of Executable are inherited.

Executable#

abstract · extends AccessibleObject · java.lang.reflect.Executable

Implements: Member, GenericDeclaration

Fields

NameTypeAccessIn Ring
PUBLICintconstant · statico.PUBLIC
DECLAREDintconstant · statico.DECLARED

Methods

MethodRing callJava overloads
accessFlagsaccessFlags()Set accessFlags()
getAnnotatedExceptionTypesgetAnnotatedExceptionTypes()AnnotatedType[] getAnnotatedExceptionTypes()
getAnnotatedParameterTypesgetAnnotatedParameterTypes()AnnotatedType[] getAnnotatedParameterTypes()
getAnnotatedReceiverTypegetAnnotatedReceiverType()AnnotatedType getAnnotatedReceiverType()
getAnnotatedReturnTypegetAnnotatedReturnType()AnnotatedType getAnnotatedReturnType()
getDeclaringClassgetDeclaringClass()Class getDeclaringClass()
getExceptionTypesgetExceptionTypes()Class[] getExceptionTypes()
getGenericExceptionTypesgetGenericExceptionTypes()Type[] getGenericExceptionTypes()
getGenericParameterTypesgetGenericParameterTypes()Type[] getGenericParameterTypes()
getModifiersgetModifiers()int getModifiers()
getNamegetName()String getName()
getParameterAnnotationsgetParameterAnnotations()Annotation[][] getParameterAnnotations()
getParameterCountgetParameterCount()int getParameterCount()
getParametersgetParameters()Parameter[] getParameters()
getParameterTypesgetParameterTypes()Class[] getParameterTypes()
getTypeParametersgetTypeParameters()TypeVariable[] getTypeParameters()
isSyntheticisSynthetic()boolean isSynthetic()
isVarArgsisVarArgs()boolean isVarArgs()
toGenericStringtoGenericString()String toGenericString()

The methods and fields of AccessibleObject are inherited.

Field#

class final · extends AccessibleObject · java.lang.reflect.Field

Implements: Member

Fields

NameTypeAccessIn Ring
PUBLICintconstant · statico.PUBLIC
DECLAREDintconstant · statico.DECLARED

Methods

MethodRing callJava overloads
@get@get(obj)Object get(Object obj)
accessFlagsaccessFlags()Set accessFlags()
getAnnotatedTypegetAnnotatedType()AnnotatedType getAnnotatedType()
getBooleangetBoolean(obj)boolean getBoolean(Object obj)
getBytegetByte(obj)byte getByte(Object obj)
getChargetChar(obj)char getChar(Object obj)
getDeclaringClassgetDeclaringClass()Class getDeclaringClass()
getDoublegetDouble(obj)double getDouble(Object obj)
getFloatgetFloat(obj)float getFloat(Object obj)
getGenericTypegetGenericType()Type getGenericType()
getIntgetInt(obj)int getInt(Object obj)
getLonggetLong(obj)long getLong(Object obj)
getModifiersgetModifiers()int getModifiers()
getNamegetName()String getName()
getShortgetShort(obj)short getShort(Object obj)
getTypegetType()Class getType()
isEnumConstantisEnumConstant()boolean isEnumConstant()
isSyntheticisSynthetic()boolean isSynthetic()
setset(obj,value)void set(Object obj, Object value)
setBooleansetBoolean(obj,z)void setBoolean(Object obj, boolean z)
setBytesetByte(obj,b)void setByte(Object obj, byte b)
setCharsetChar(obj,c)void setChar(Object obj, char c)
setDoublesetDouble(obj,d)void setDouble(Object obj, double d)
setFloatsetFloat(obj,f)void setFloat(Object obj, float f)
setIntsetInt(obj,i)void setInt(Object obj, int i)
setLongsetLong(obj,l)void setLong(Object obj, long l)
setShortsetShort(obj,s)void setShort(Object obj, short s)
toGenericStringtoGenericString()String toGenericString()

The methods and fields of AccessibleObject are inherited.

GenericArrayType#

interface · java.lang.reflect.GenericArrayType

Extends: Type

Methods

MethodRing callJava overloads
getGenericComponentTypegetGenericComponentType()Type getGenericComponentType()
getTypeNamegetTypeName()String getTypeName()

GenericDeclaration#

interface · java.lang.reflect.GenericDeclaration

Extends: AnnotatedElement

Methods

MethodRing callJava overloads
getAnnotationgetAnnotation(annotationClass)Annotation getAnnotation(Class annotationClass)
getAnnotationsgetAnnotations()Annotation[] getAnnotations()
getAnnotationsByTypegetAnnotationsByType(annotationClass)Annotation[] getAnnotationsByType(Class annotationClass)
getDeclaredAnnotationgetDeclaredAnnotation(annotationClass)Annotation getDeclaredAnnotation(Class annotationClass)
getDeclaredAnnotationsgetDeclaredAnnotations()Annotation[] getDeclaredAnnotations()
getDeclaredAnnotationsByTypegetDeclaredAnnotationsByType(annotationClass)Annotation[] getDeclaredAnnotationsByType(Class annotationClass)
getTypeParametersgetTypeParameters()TypeVariable[] getTypeParameters()
isAnnotationPresentisAnnotationPresent(annotationClass)boolean isAnnotationPresent(Class annotationClass)

GenericSignatureFormatError#

class · extends ClassFormatError · java.lang.reflect.GenericSignatureFormatError

Constructors

new GenericSignatureFormatError()
new GenericSignatureFormatError(String message)

Ring: new GenericSignatureFormatError(args) uses the constructor with the fewest parameters (at least one); new GenericSignatureFormatError makes the object with the constructor without parameters; the others: (new GenericSignatureFormatError).@New([ :param = value ]) or .@New([v1,v2]).

The methods and fields of ClassFormatError are inherited.

InaccessibleObjectException#

class · extends RuntimeException · java.lang.reflect.InaccessibleObjectException

Constructors

new InaccessibleObjectException()
new InaccessibleObjectException(String msg)

Ring: new InaccessibleObjectException(args) uses the constructor with the fewest parameters (at least one); new InaccessibleObjectException makes the object with the constructor without parameters; the others: (new InaccessibleObjectException).@New([ :param = value ]) or .@New([v1,v2]).

The methods and fields of RuntimeException are inherited.

InvocationHandler#

interface · java.lang.reflect.InvocationHandler

Methods

MethodRing callJava overloads
invokeinvoke(proxy,method,args)Object invoke(Object proxy, Method method, Object[] args)
invokeDefaultinvokeDefault(proxy,method,args)static Object invokeDefault(Object proxy, Method method, Object[] args)

InvocationTargetException#

class · extends ReflectiveOperationException · java.lang.reflect.InvocationTargetException

Constructors

new InvocationTargetException(Throwable target)
new InvocationTargetException(Throwable target, String s)

Ring: new InvocationTargetException(args) uses the constructor with the fewest parameters (at least one); new InvocationTargetException makes the object with the constructor without parameters; the others: (new InvocationTargetException).@New([ :param = value ]) or .@New([v1,v2]).

Methods

MethodRing callJava overloads
getTargetExceptiongetTargetException()Throwable getTargetException()

The methods and fields of ReflectiveOperationException are inherited.

MalformedParameterizedTypeException#

class · extends RuntimeException · java.lang.reflect.MalformedParameterizedTypeException

Constructors

new MalformedParameterizedTypeException()
new MalformedParameterizedTypeException(String message)

Ring: new MalformedParameterizedTypeException(args) uses the constructor with the fewest parameters (at least one); new MalformedParameterizedTypeException makes the object with the constructor without parameters; the others: (new MalformedParameterizedTypeException).@New([ :param = value ]) or .@New([v1,v2]).

The methods and fields of RuntimeException are inherited.

MalformedParametersException#

class · extends RuntimeException · java.lang.reflect.MalformedParametersException

Constructors

new MalformedParametersException()
new MalformedParametersException(String reason)

Ring: new MalformedParametersException(args) uses the constructor with the fewest parameters (at least one); new MalformedParametersException makes the object with the constructor without parameters; the others: (new MalformedParametersException).@New([ :param = value ]) or .@New([v1,v2]).

The methods and fields of RuntimeException are inherited.

Member#

interface · java.lang.reflect.Member

Fields

NameTypeAccessIn Ring
PUBLICintconstant · statico.PUBLIC
DECLAREDintconstant · statico.DECLARED

Methods

MethodRing callJava overloads
accessFlagsaccessFlags()Set accessFlags()
getDeclaringClassgetDeclaringClass()Class getDeclaringClass()
getModifiersgetModifiers()int getModifiers()
getNamegetName()String getName()
isSyntheticisSynthetic()boolean isSynthetic()

Method#

class final · extends Executable · java.lang.reflect.Method

Methods

MethodRing callJava overloads
getDefaultValuegetDefaultValue()Object getDefaultValue()
getGenericReturnTypegetGenericReturnType()Type getGenericReturnType()
getReturnTypegetReturnType()Class getReturnType()
invokeinvoke(obj,args)Object invoke(Object obj, Object[] args)
isBridgeisBridge()boolean isBridge()
isDefaultisDefault()boolean isDefault()

The methods and fields of Executable are inherited.

Modifier#

class final · extends Object · java.lang.reflect.Modifier

Fields

NameTypeAccessIn Ring
PUBLICintconstant · statico.PUBLIC
PRIVATEintconstant · statico.@PRIVATE
PROTECTEDintconstant · statico.PROTECTED
STATICintconstant · statico.STATIC
FINALintconstant · statico.FINAL
SYNCHRONIZEDintconstant · statico.SYNCHRONIZED
VOLATILEintconstant · statico.VOLATILE
TRANSIENTintconstant · statico.TRANSIENT
NATIVEintconstant · statico.NATIVE
INTERFACEintconstant · statico.INTERFACE
ABSTRACTintconstant · statico.ABSTRACT
STRICTintconstant · statico.STRICT

Methods

MethodRing callJava overloads
@toString@toString(mod)static String toString(int mod)
classModifiersclassModifiers()static int classModifiers()
constructorModifiersconstructorModifiers()static int constructorModifiers()
fieldModifiersfieldModifiers()static int fieldModifiers()
interfaceModifiersinterfaceModifiers()static int interfaceModifiers()
isAbstractisAbstract(mod)static boolean isAbstract(int mod)
isFinalisFinal(mod)static boolean isFinal(int mod)
isInterfaceisInterface(mod)static boolean isInterface(int mod)
isNativeisNative(mod)static boolean isNative(int mod)
isPrivateisPrivate(mod)static boolean isPrivate(int mod)
isProtectedisProtected(mod)static boolean isProtected(int mod)
isPublicisPublic(mod)static boolean isPublic(int mod)
isStaticisStatic(mod)static boolean isStatic(int mod)
isStrictisStrict(mod)static boolean isStrict(int mod)
isSynchronizedisSynchronized(mod)static boolean isSynchronized(int mod)
isTransientisTransient(mod)static boolean isTransient(int mod)
isVolatileisVolatile(mod)static boolean isVolatile(int mod)
methodModifiersmethodModifiers()static int methodModifiers()
parameterModifiersparameterModifiers()static int parameterModifiers()

The methods and fields of Object are inherited.

Parameter#

class final · extends Object · java.lang.reflect.Parameter

Implements: AnnotatedElement

Methods

MethodRing callJava overloads
accessFlagsaccessFlags()Set accessFlags()
getAnnotatedTypegetAnnotatedType()AnnotatedType getAnnotatedType()
getAnnotationgetAnnotation(annotationClass)Annotation getAnnotation(Class annotationClass)
getAnnotationsgetAnnotations()Annotation[] getAnnotations()
getAnnotationsByTypegetAnnotationsByType(annotationClass)Annotation[] getAnnotationsByType(Class annotationClass)
getDeclaredAnnotationgetDeclaredAnnotation(annotationClass)Annotation getDeclaredAnnotation(Class annotationClass)
getDeclaredAnnotationsgetDeclaredAnnotations()Annotation[] getDeclaredAnnotations()
getDeclaredAnnotationsByTypegetDeclaredAnnotationsByType(annotationClass)Annotation[] getDeclaredAnnotationsByType(Class annotationClass)
getDeclaringExecutablegetDeclaringExecutable()Executable getDeclaringExecutable()
getModifiersgetModifiers()int getModifiers()
getNamegetName()String getName()
getParameterizedTypegetParameterizedType()Type getParameterizedType()
getTypegetType()Class getType()
isAnnotationPresentisAnnotationPresent(annotationClass)boolean isAnnotationPresent(Class annotationClass)
isImplicitisImplicit()boolean isImplicit()
isNamePresentisNamePresent()boolean isNamePresent()
isSyntheticisSynthetic()boolean isSynthetic()
isVarArgsisVarArgs()boolean isVarArgs()

The methods and fields of Object are inherited.

ParameterizedType#

interface · java.lang.reflect.ParameterizedType

Extends: Type

Methods

MethodRing callJava overloads
getActualTypeArgumentsgetActualTypeArguments()Type[] getActualTypeArguments()
getOwnerTypegetOwnerType()Type getOwnerType()
getRawTypegetRawType()Type getRawType()
getTypeNamegetTypeName()String getTypeName()

Proxy#

class · extends Object · java.lang.reflect.Proxy

Implements: Serializable

Methods

MethodRing callJava overloads
getInvocationHandlergetInvocationHandler(proxy)static InvocationHandler getInvocationHandler(Object proxy)
getProxyClassgetProxyClass(loader,interfaces)static Class getProxyClass(ClassLoader loader, Class[] interfaces)
isProxyClassisProxyClass(cl)static boolean isProxyClass(Class cl)
newProxyInstancenewProxyInstance(loader,interfaces,h)static Object newProxyInstance(ClassLoader loader, Class[] interfaces, InvocationHandler h)

The methods and fields of Object are inherited.

RecordComponent#

class final · extends Object · java.lang.reflect.RecordComponent

Implements: AnnotatedElement

Methods

MethodRing callJava overloads
getAccessorgetAccessor()Method getAccessor()
getAnnotatedTypegetAnnotatedType()AnnotatedType getAnnotatedType()
getAnnotationgetAnnotation(annotationClass)Annotation getAnnotation(Class annotationClass)
getAnnotationsgetAnnotations()Annotation[] getAnnotations()
getAnnotationsByTypegetAnnotationsByType(annotationClass)Annotation[] getAnnotationsByType(Class annotationClass)
getDeclaredAnnotationgetDeclaredAnnotation(annotationClass)Annotation getDeclaredAnnotation(Class annotationClass)
getDeclaredAnnotationsgetDeclaredAnnotations()Annotation[] getDeclaredAnnotations()
getDeclaredAnnotationsByTypegetDeclaredAnnotationsByType(annotationClass)Annotation[] getDeclaredAnnotationsByType(Class annotationClass)
getDeclaringRecordgetDeclaringRecord()Class getDeclaringRecord()
getGenericSignaturegetGenericSignature()String getGenericSignature()
getGenericTypegetGenericType()Type getGenericType()
getNamegetName()String getName()
getTypegetType()Class getType()
isAnnotationPresentisAnnotationPresent(annotationClass)boolean isAnnotationPresent(Class annotationClass)

The methods and fields of Object are inherited.

ReflectPermission#

class final · extends BasicPermission · java.lang.reflect.ReflectPermission

Constructors

new ReflectPermission(String name)
new ReflectPermission(String name, String actions)

Ring: new ReflectPermission(args) uses the constructor with the fewest parameters (at least one); new ReflectPermission makes the object with the constructor without parameters; the others: (new ReflectPermission).@New([ :param = value ]) or .@New([v1,v2]).

The methods and fields of BasicPermission are inherited.

Type#

interface · java.lang.reflect.Type

Methods

MethodRing callJava overloads
getTypeNamegetTypeName()String getTypeName()

TypeVariable#

interface · java.lang.reflect.TypeVariable

Extends: Type, AnnotatedElement

Methods

MethodRing callJava overloads
getAnnotatedBoundsgetAnnotatedBounds()AnnotatedType[] getAnnotatedBounds()
getAnnotationgetAnnotation(annotationClass)Annotation getAnnotation(Class annotationClass)
getAnnotationsgetAnnotations()Annotation[] getAnnotations()
getAnnotationsByTypegetAnnotationsByType(annotationClass)Annotation[] getAnnotationsByType(Class annotationClass)
getBoundsgetBounds()Type[] getBounds()
getDeclaredAnnotationgetDeclaredAnnotation(annotationClass)Annotation getDeclaredAnnotation(Class annotationClass)
getDeclaredAnnotationsgetDeclaredAnnotations()Annotation[] getDeclaredAnnotations()
getDeclaredAnnotationsByTypegetDeclaredAnnotationsByType(annotationClass)Annotation[] getDeclaredAnnotationsByType(Class annotationClass)
getGenericDeclarationgetGenericDeclaration()GenericDeclaration getGenericDeclaration()
getNamegetName()String getName()
getTypeNamegetTypeName()String getTypeName()
isAnnotationPresentisAnnotationPresent(annotationClass)boolean isAnnotationPresent(Class annotationClass)

UndeclaredThrowableException#

class · extends RuntimeException · java.lang.reflect.UndeclaredThrowableException

Constructors

new UndeclaredThrowableException(Throwable undeclaredThrowable)
new UndeclaredThrowableException(Throwable undeclaredThrowable, String s)

Ring: new UndeclaredThrowableException(args) uses the constructor with the fewest parameters (at least one); new UndeclaredThrowableException makes the object with the constructor without parameters; the others: (new UndeclaredThrowableException).@New([ :param = value ]) or .@New([v1,v2]).

Methods

MethodRing callJava overloads
getUndeclaredThrowablegetUndeclaredThrowable()Throwable getUndeclaredThrowable()

The methods and fields of RuntimeException are inherited.

WildcardType#

interface · java.lang.reflect.WildcardType

Extends: Type

Methods

MethodRing callJava overloads
getLowerBoundsgetLowerBounds()Type[] getLowerBounds()
getTypeNamegetTypeName()String getTypeName()
getUpperBoundsgetUpperBounds()Type[] getUpperBounds()
RingJava - use Java classes and methods from Ring programs.