Class APGeneratorSource
java.lang.Object
org.openjdk.jmh.generators.annotations.APGeneratorSource
- All Implemented Interfaces:
GeneratorSource
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate Collection
<ClassInfo> private final ProcessingEnvironment
private final RoundEnvironment
-
Constructor Summary
ConstructorsConstructorDescriptionAPGeneratorSource
(RoundEnvironment roundEnv, ProcessingEnvironment processingEnv) -
Method Summary
Modifier and TypeMethodDescriptionprotected Collection
<ClassInfo> convert
(Collection<TypeElement> els) resolveClass
(String className) Resolve class info for a name.
-
Field Details
-
roundEnv
-
processingEnv
-
classInfos
-
-
Constructor Details
-
APGeneratorSource
-
-
Method Details
-
getClasses
- Specified by:
getClasses
in interfaceGeneratorSource
- Returns:
- collection of all resolved classes
-
convert
-
resolveClass
Description copied from interface:GeneratorSource
Resolve class info for a name.Users may call this method for the classes not listed in
GeneratorSource.getClasses()
call, the implementation has to have the fall-back strategy for these cases.- Specified by:
resolveClass
in interfaceGeneratorSource
- Parameters:
className
- class name- Returns:
- class metainfo
-