RingJavafor Ring

java.lang.annotation

6 classes of the module java.base.

Load them with:

using {
	"java.lang.annotation"
}

All packages

Annotation#

interface · java.lang.annotation.Annotation

Methods

MethodRing callJava overloads
annotationTypeannotationType()Class annotationType()
equalsequals(obj)boolean equals(Object obj)
hashCodehashCode()int hashCode()

AnnotationFormatError#

class · extends Error · java.lang.annotation.AnnotationFormatError

Constructors

new AnnotationFormatError(String message)
new AnnotationFormatError(Throwable cause)
new AnnotationFormatError(String message, Throwable cause)

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

The methods and fields of Error are inherited.

AnnotationTypeMismatchException#

class · extends RuntimeException · java.lang.annotation.AnnotationTypeMismatchException

Constructors

new AnnotationTypeMismatchException(Method element, String foundType)

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

Methods

MethodRing callJava overloads
elementelement()Method element()
foundTypefoundType()String foundType()

The methods and fields of RuntimeException are inherited.

ElementType#

enum · extends Enum · java.lang.annotation.ElementType

Fields

NameTypeAccessIn Ring
TYPEElementTypeconstant · statico.TYPE
FIELDElementTypeconstant · statico.FIELD
METHODElementTypeconstant · statico.METHOD
PARAMETERElementTypeconstant · statico.PARAMETER
CONSTRUCTORElementTypeconstant · statico.CONSTRUCTOR
LOCAL_VARIABLEElementTypeconstant · statico.LOCAL_VARIABLE
ANNOTATION_TYPEElementTypeconstant · statico.ANNOTATION_TYPE
PACKAGEElementTypeconstant · statico.@PACKAGE
TYPE_PARAMETERElementTypeconstant · statico.TYPE_PARAMETER
TYPE_USEElementTypeconstant · statico.TYPE_USE
MODULEElementTypeconstant · statico.MODULE
RECORD_COMPONENTElementTypeconstant · statico.RECORD_COMPONENT

Methods

MethodRing callJava overloads
valueOfvalueOf(p1)
valueOf([enumClass,name])
valueOf([ :enumClass = v, :name = v ])
static ElementType valueOf(String p1)
static Enum valueOf(Class enumClass, String name)
valuesvalues()static ElementType[] values()

The methods and fields of Enum are inherited.

IncompleteAnnotationException#

class · extends RuntimeException · java.lang.annotation.IncompleteAnnotationException

Constructors

new IncompleteAnnotationException(Class annotationType, String elementName)

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

Methods

MethodRing callJava overloads
annotationTypeannotationType()Class annotationType()
elementNameelementName()String elementName()

The methods and fields of RuntimeException are inherited.

RetentionPolicy#

enum · extends Enum · java.lang.annotation.RetentionPolicy

Fields

NameTypeAccessIn Ring
SOURCERetentionPolicyconstant · statico.SOURCE
CLASSRetentionPolicyconstant · statico.@CLASS
RUNTIMERetentionPolicyconstant · statico.RUNTIME

Methods

MethodRing callJava overloads
valueOfvalueOf(p1)
valueOf([enumClass,name])
valueOf([ :enumClass = v, :name = v ])
static RetentionPolicy valueOf(String p1)
static Enum valueOf(Class enumClass, String name)
valuesvalues()static RetentionPolicy[] values()

The methods and fields of Enum are inherited.

RingJava - use Java classes and methods from Ring programs.