Index

A B C D E F G H I M N O P R S T U V 
All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form

A

allow(ReflectionCategory...) - Method in class io.micronaut.errorprone.noreflection.gradle.NoReflectionExtension
Allows the given categories throughout the project.
allow(String...) - Method in class io.micronaut.errorprone.noreflection.gradle.NoReflectionExtension
Allows the named categories throughout the project.
allowCalls(String...) - Method in class io.micronaut.errorprone.noreflection.gradle.NoReflectionExtension
Allows the given calls throughout the project.
ALLOWED_CALLS_FLAG - Static variable in enum class io.micronaut.errorprone.noreflection.ReflectionCategory
The flag naming the calls allowed throughout the project, as CallPatterns separated by commas.
ALLOWED_FLAG - Static variable in class io.micronaut.errorprone.noreflection.NoReflection
The flag naming the categories allowed throughout the project, separated by commas.
ALLOWED_FLAG - Static variable in enum class io.micronaut.errorprone.noreflection.ReflectionCategory
The flag naming the categories allowed throughout the project, separated by commas.
ALLOWED_IN_FLAG - Static variable in enum class io.micronaut.errorprone.noreflection.ReflectionCategory
The flag naming the classes and packages in which reflection is allowed, as AllowedScopes separated by commas.
AllowedScope - Class in io.micronaut.errorprone.noreflection
A class or a package in which reflection is allowed, as a build names it, with the only categories allowed there when not all of them are.
allowIn(String, String...) - Method in class io.micronaut.errorprone.noreflection.gradle.NoReflectionExtension
Allows reflection in a class, or in a package and the packages below it.
allows(ReflectionCategory) - Method in class io.micronaut.errorprone.noreflection.AllowedScope
 
ANNOTATION_SYNTHESIS - Enum constant in enum class io.micronaut.errorprone.noreflection.ReflectionCategory
Building an annotation instance from Micronaut's annotation metadata, which defines a proxy class to do it.
ANNOTATIONS - Enum constant in enum class io.micronaut.errorprone.noreflection.ReflectionCategory
Annotations read from a class, a member, a parameter or a type use, rather than from Micronaut's metadata.
apply(Project) - Method in class io.micronaut.errorprone.noreflection.gradle.NoReflectionPlugin
 

B

BEANS - Enum constant in enum class io.micronaut.errorprone.noreflection.ReflectionCategory
java.beans: introspection, feature descriptors, statements, encoders and event handlers.

C

CallPattern - Class in io.micronaut.errorprone.noreflection
Calls named the way a build writes them: a type or a package, then # and the members.
CallPattern.OwnerMatch - Enum Class in io.micronaut.errorprone.noreflection
How the type of a pattern is matched against the class declaring a member.
categories() - Method in class io.micronaut.errorprone.noreflection.AllowedScope
 
CHECKS_ARTIFACT - Static variable in class io.micronaut.errorprone.noreflection.gradle.NoReflectionPlugin
The artifact of the check, in the group and of the version of the plugin.
CLASS_LOADING - Enum constant in enum class io.micronaut.errorprone.noreflection.ReflectionCategory
Classes loaded by name or defined at run time: Class.forName, a ClassLoader, module layers, resource bundles and Micronaut's ClassUtils.forName.
CLASS_MEMBERS - Enum constant in enum class io.micronaut.errorprone.noreflection.ReflectionCategory
The members of a class looked up: its methods, constructors and fields, record components, nested and permitted classes, nest members, enclosing method, and the parameters of a method.
CLASS_NAMES - Enum constant in enum class io.micronaut.errorprone.noreflection.ReflectionCategory
Class.getSimpleName and Class.getCanonicalName, which fill the reflection data of the class.
coversClass(String, String) - Method in class io.micronaut.errorprone.noreflection.AllowedScope
 
coversPackage(String) - Method in class io.micronaut.errorprone.noreflection.AllowedScope
 
coversPackage(String) - Method in class io.micronaut.errorprone.noreflection.CallPattern
 
CUSTOM - Enum constant in enum class io.micronaut.errorprone.noreflection.ReflectionCategory
A call the build forbids besides the categories above, with noReflection { forbid(...) }.

D

DESCENDANTS - Enum constant in enum class io.micronaut.errorprone.noreflection.CallPattern.OwnerMatch
The class or any subtype of it.

E

ENUM_CONSTANTS - Enum constant in enum class io.micronaut.errorprone.noreflection.ReflectionCategory
The enum constants a class caches: Class.getEnumConstants, Enum.valueOf and the valueOf(String) of every enum, which calls it, EnumSet and EnumMap.
EXACT - Enum constant in enum class io.micronaut.errorprone.noreflection.CallPattern.OwnerMatch
The class itself.

F

FIELD_UPDATERS - Enum constant in enum class io.micronaut.errorprone.noreflection.ReflectionCategory
AtomicReferenceFieldUpdater, AtomicIntegerFieldUpdater and AtomicLongFieldUpdater, which look their field up.
forbid(String...) - Method in class io.micronaut.errorprone.noreflection.gradle.NoReflectionExtension
Reports the given calls, as the category ReflectionCategory.CUSTOM, besides the categories.
forbidAll() - Method in class io.micronaut.errorprone.noreflection.gradle.NoReflectionExtension
Forbids all reflection but in the classes and packages of NoReflectionExtension.allowIn(String, String...), with no suppression honoured.
FORBIDDEN_CALLS_FLAG - Static variable in enum class io.micronaut.errorprone.noreflection.ReflectionCategory
The flag naming the calls reported as ReflectionCategory.CUSTOM, as CallPatterns separated by commas.

G

GENERIC_SIGNATURES - Enum constant in enum class io.micronaut.errorprone.noreflection.ReflectionCategory
Generic signatures, parsed and cached for a class or a member, the types they produce, and Micronaut's GenericTypeUtils.
getAllowed() - Method in class io.micronaut.errorprone.noreflection.gradle.NoReflectionExtension
 
getAllowedCalls() - Method in class io.micronaut.errorprone.noreflection.gradle.NoReflectionExtension
 
getAllowedIn() - Method in class io.micronaut.errorprone.noreflection.gradle.NoReflectionExtension
 
getCheckedSourceSets() - Method in class io.micronaut.errorprone.noreflection.gradle.NoReflectionExtension
 
getCheckedTasks() - Method in class io.micronaut.errorprone.noreflection.gradle.NoReflectionExtension
 
getCheckTests() - Method in class io.micronaut.errorprone.noreflection.gradle.NoReflectionExtension
 
getErrorProneVersion() - Method in class io.micronaut.errorprone.noreflection.gradle.NoReflectionExtension
 
getForbidAll() - Method in class io.micronaut.errorprone.noreflection.gradle.NoReflectionExtension
 
getForbiddenCalls() - Method in class io.micronaut.errorprone.noreflection.gradle.NoReflectionExtension
 
getSeverity() - Method in class io.micronaut.errorprone.noreflection.gradle.NoReflectionExtension
 
getSuppressible() - Method in class io.micronaut.errorprone.noreflection.gradle.NoReflectionExtension
 

H

HANDLES - Enum constant in enum class io.micronaut.errorprone.noreflection.ReflectionCategory
All of java.lang.invoke but its exceptions - method and variable handles, lookups, call sites, and the factories and bootstraps behind lambdas and string concatenation - with the bootstraps of java.lang.runtime for records and switches, the resolution of java.lang.constant descriptions, and the handles of java.lang.foreign.Linker.

I

INSTRUMENTATION - Enum constant in enum class io.micronaut.errorprone.noreflection.ReflectionCategory
java.lang.instrument.Instrumentation, which lists, redefines and retransforms loaded classes.
INTERFACES - Enum constant in enum class io.micronaut.errorprone.noreflection.ReflectionCategory
Class.getInterfaces, which fills the reflection data of the class, and Micronaut's ClassUtils.resolveHierarchy.
io.micronaut.errorprone.info - package io.micronaut.errorprone.info
 
io.micronaut.errorprone.noreflection - package io.micronaut.errorprone.noreflection
 
io.micronaut.errorprone.noreflection.gradle - package io.micronaut.errorprone.noreflection.gradle
 

M

matchesMember(String) - Method in class io.micronaut.errorprone.noreflection.CallPattern
 
matchMemberReference(MemberReferenceTree, VisitorState) - Method in class io.micronaut.errorprone.noreflection.NoReflection
 
matchMethodInvocation(MethodInvocationTree, VisitorState) - Method in class io.micronaut.errorprone.noreflection.NoReflection
 
matchNewClass(NewClassTree, VisitorState) - Method in class io.micronaut.errorprone.noreflection.NoReflection
 
MicronautErrorproneNoReflectionGradlePluginModuleInfo - Class in io.micronaut.errorprone.info
 
MicronautErrorproneNoReflectionGradlePluginModuleInfo() - Constructor for class io.micronaut.errorprone.info.MicronautErrorproneNoReflectionGradlePluginModuleInfo
 
MicronautErrorproneNoReflectionModuleInfo - Class in io.micronaut.errorprone.info
 
MicronautErrorproneNoReflectionModuleInfo() - Constructor for class io.micronaut.errorprone.info.MicronautErrorproneNoReflectionModuleInfo
 

N

named(String) - Static method in enum class io.micronaut.errorprone.noreflection.ReflectionCategory
 
namesType(String, String) - Method in class io.micronaut.errorprone.noreflection.CallPattern
 
NoReflection - Class in io.micronaut.errorprone.noreflection
Reports reflection: a call, a method named rather than called, or a constructor that reaches for it, unless the build allows it.
NoReflection() - Constructor for class io.micronaut.errorprone.noreflection.NoReflection
Forbids every category everywhere, and honours a suppression.
NoReflection(ErrorProneFlags) - Constructor for class io.micronaut.errorprone.noreflection.NoReflection
 
NoReflectionExtension - Class in io.micronaut.errorprone.noreflection.gradle
How a project forbids reflection.
NoReflectionExtension() - Constructor for class io.micronaut.errorprone.noreflection.gradle.NoReflectionExtension
 
NoReflectionPlugin - Class in io.micronaut.errorprone.noreflection.gradle
Reports reflection in a project, except where the project allows it.
NoReflectionPlugin() - Constructor for class io.micronaut.errorprone.noreflection.gradle.NoReflectionPlugin
 

O

owner() - Method in class io.micronaut.errorprone.noreflection.CallPattern
 
ownerMatch() - Method in class io.micronaut.errorprone.noreflection.CallPattern
 

P

PACKAGE - Enum constant in enum class io.micronaut.errorprone.noreflection.CallPattern.OwnerMatch
Any class of the package, or of a package below it.
parse(String) - Static method in class io.micronaut.errorprone.noreflection.AllowedScope
 
parse(String) - Static method in class io.micronaut.errorprone.noreflection.CallPattern
 
PROXY - Enum constant in enum class io.micronaut.errorprone.noreflection.ReflectionCategory
Proxy classes: java.lang.reflect.Proxy, MethodHandleProxies and InvocationHandler.invokeDefault.

R

REFLECTION_UTILS - Enum constant in enum class io.micronaut.errorprone.noreflection.ReflectionCategory
Micronaut's ReflectionUtils, but for its table mapping primitive types to their wrappers and back.
ReflectionCategory - Enum Class in io.micronaut.errorprone.noreflection
The kinds of reflection the checks tell apart, which is what a project allows when it allows any.
REFLECTIVE_ACCESS - Enum constant in enum class io.micronaut.errorprone.noreflection.ReflectionCategory
A member reached once it is found: setAccessible, invoking a method, reading or writing a field, creating an instance reflectively, Array, opening a module, and Micronaut's InstantiationUtils.

S

scope() - Method in class io.micronaut.errorprone.noreflection.AllowedScope
 
SERIALIZATION - Enum constant in enum class io.micronaut.errorprone.noreflection.ReflectionCategory
Java serialization, which reads the fields, constructors and private methods of the classes it meets.
SERVICE_LOADING - Enum constant in enum class io.micronaut.errorprone.noreflection.ReflectionCategory
java.util.ServiceLoader and Micronaut's SoftServiceLoader, which instantiate what they find reflectively.
severity(String) - Method in class io.micronaut.errorprone.noreflection.gradle.NoReflectionExtension
Sets the severity reflection is reported with.
SUPPRESSIBLE_FLAG - Static variable in enum class io.micronaut.errorprone.noreflection.ReflectionCategory
The flag saying whether a @SuppressWarnings("NoReflection") in the source is honoured, unless it is false.

T

TARGET_MEMBERS - Enum constant in enum class io.micronaut.errorprone.noreflection.ReflectionCategory
The java.lang.reflect member behind a Micronaut method or field: getTargetMethod, FieldInjectionPoint.getField.
toFlag() - Method in class io.micronaut.errorprone.noreflection.AllowedScope
 
toString() - Method in class io.micronaut.errorprone.noreflection.AllowedScope
 
toString() - Method in class io.micronaut.errorprone.noreflection.CallPattern
 

U

UNSAFE - Enum constant in enum class io.micronaut.errorprone.noreflection.ReflectionCategory
sun.misc.Unsafe and sun.reflect.ReflectionFactory.

V

valueOf(String) - Static method in enum class io.micronaut.errorprone.noreflection.CallPattern.OwnerMatch
Returns the enum constant of this class with the specified name.
valueOf(String) - Static method in enum class io.micronaut.errorprone.noreflection.ReflectionCategory
Returns the enum constant of this class with the specified name.
values() - Static method in enum class io.micronaut.errorprone.noreflection.CallPattern.OwnerMatch
Returns an array containing the constants of this enum class, in the order they are declared.
values() - Static method in enum class io.micronaut.errorprone.noreflection.ReflectionCategory
Returns an array containing the constants of this enum class, in the order they are declared.
A B C D E F G H I M N O P R S T U V 
All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form