javax.lang.model
3 classes of the module java.compiler.
Load them with:
using {
"javax.lang.model"
}
AnnotatedConstruct#
interface · javax.lang.model.AnnotatedConstruct
Methods
| Method | Ring call | Java overloads |
|---|---|---|
getAnnotation | getAnnotation(annotationType) | Annotation getAnnotation(Class annotationType) |
getAnnotationMirrors | getAnnotationMirrors() | List getAnnotationMirrors() |
getAnnotationsByType | getAnnotationsByType(annotationType) | Annotation[] getAnnotationsByType(Class annotationType) |
SourceVersion#
enum · extends Enum · javax.lang.model.SourceVersion
Fields
| Name | Type | Access | In Ring |
|---|---|---|---|
RELEASE_0 | SourceVersion | constant · static | o.RELEASE_0 |
RELEASE_1 | SourceVersion | constant · static | o.RELEASE_1 |
RELEASE_2 | SourceVersion | constant · static | o.RELEASE_2 |
RELEASE_3 | SourceVersion | constant · static | o.RELEASE_3 |
RELEASE_4 | SourceVersion | constant · static | o.RELEASE_4 |
RELEASE_5 | SourceVersion | constant · static | o.RELEASE_5 |
RELEASE_6 | SourceVersion | constant · static | o.RELEASE_6 |
RELEASE_7 | SourceVersion | constant · static | o.RELEASE_7 |
RELEASE_8 | SourceVersion | constant · static | o.RELEASE_8 |
RELEASE_9 | SourceVersion | constant · static | o.RELEASE_9 |
RELEASE_10 | SourceVersion | constant · static | o.RELEASE_10 |
RELEASE_11 | SourceVersion | constant · static | o.RELEASE_11 |
RELEASE_12 | SourceVersion | constant · static | o.RELEASE_12 |
RELEASE_13 | SourceVersion | constant · static | o.RELEASE_13 |
RELEASE_14 | SourceVersion | constant · static | o.RELEASE_14 |
RELEASE_15 | SourceVersion | constant · static | o.RELEASE_15 |
RELEASE_16 | SourceVersion | constant · static | o.RELEASE_16 |
RELEASE_17 | SourceVersion | constant · static | o.RELEASE_17 |
RELEASE_18 | SourceVersion | constant · static | o.RELEASE_18 |
RELEASE_19 | SourceVersion | constant · static | o.RELEASE_19 |
RELEASE_20 | SourceVersion | constant · static | o.RELEASE_20 |
RELEASE_21 | SourceVersion | constant · static | o.RELEASE_21 |
RELEASE_22 | SourceVersion | constant · static | o.RELEASE_22 |
RELEASE_23 | SourceVersion | constant · static | o.RELEASE_23 |
RELEASE_24 | SourceVersion | constant · static | o.RELEASE_24 |
RELEASE_25 | SourceVersion | constant · static | o.RELEASE_25 |
Methods
| Method | Ring call | Java overloads |
|---|---|---|
isIdentifier | isIdentifier(name) | static boolean isIdentifier(CharSequence name) |
isKeyword | isKeyword(s)isKeyword([s,version])isKeyword([ :s = v, :version = v ]) | static boolean isKeyword(CharSequence s)static boolean isKeyword(CharSequence s, SourceVersion version) |
isName | isName(name)isName([name,version])isName([ :name = v, :version = v ]) | static boolean isName(CharSequence name)static boolean isName(CharSequence name, SourceVersion version) |
latest | latest() | static SourceVersion latest() |
latestSupported | latestSupported() | static SourceVersion latestSupported() |
runtimeVersion | runtimeVersion() | Version runtimeVersion() |
valueOf | valueOf(rv)valueOf([enumClass,name])valueOf([ :enumClass = v, :name = v ]) | static SourceVersion valueOf(String rv)static SourceVersion valueOf(Version rv)static Enum valueOf(Class enumClass, String name) |
values | values() | static SourceVersion[] values() |
The methods and fields of Enum are inherited.
UnknownEntityException#
class · extends RuntimeException · javax.lang.model.UnknownEntityException
The methods and fields of RuntimeException are inherited.