Class APGeneratorSource
java.lang.Object
org.openjdk.jmh.generators.annotations.APGeneratorSource
- All Implemented Interfaces:
GeneratorSource
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate Collection<ClassInfo> private final ProcessingEnvironmentprivate 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:
getClassesin interfaceGeneratorSource- Returns:
- collection of all resolved classes
-
convert
-
resolveClass
Description copied from interface:GeneratorSourceResolve 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:
resolveClassin interfaceGeneratorSource- Parameters:
className- class name- Returns:
- class metainfo
-