Package org.checkerframework.common.reflection.qual
package org.checkerframework.common.reflection.qual
-
ClassDescriptionThis represents a
Class<T>
object whose run-time value is equal to or a subtype of one of the arguments.This represents aClass<T>
object where the set of possible values of T is known at compile time.The bottom type in the ClassVal type system.Annotation for methods likeClass.forName
.Annotation for methods likeObject.getClassName
.Annotation for methods likeClass.getConstructor
, whose signature is:
@
MethodVal
(classname=c, methodname="<init>", params=p) Constructor<T> method(Class<c> this, Object... params)
Annotation for methods likeClass.getMethod
andClass.getDeclaredMethod
, whose signature is:
{@link MethodVal}(classname=c, methodname=m, params=p) Method getMyMethod(Class<c> this, String m, Object... params)
Annotation for methods likeMethod.invoke
, whose signature is:
Object method({@link MethodVal}(classname=c, methodname=m, params=p) Method this, Object obj, Object... args)
This represents a set ofMethod
orConstructor
values.The bottom type in the MethodVal type system.Annotation for methods likeConstructor.newInstance
, whose signature is:
T method(
MethodVal
(classname=c, methodname="<init>", params=p) Constructor this, Object... args)
Represents a Class object whose run-time value is not known at compile time.Represents aMethod
orConstructor
expression whose run-time value is not known at compile time.