Class APMethodInfo
java.lang.Object
org.openjdk.jmh.generators.annotations.APMetadataInfo
org.openjdk.jmh.generators.annotations.APMethodInfo
- All Implemented Interfaces:
Comparable<MethodInfo>, MetadataInfo, MethodInfo
-
Field Summary
FieldsFields inherited from class APMetadataInfo
processEnv -
Constructor Summary
ConstructorsConstructorDescriptionAPMethodInfo(ProcessingEnvironment processEnv, ClassInfo ci, ExecutableElement el) -
Method Summary
Modifier and TypeMethodDescriptionint<T extends Annotation>
TgetAnnotation(Class<T> annClass) getName()booleanbooleanisPublic()booleanisStatic()booleanbooleantoString()Methods inherited from class APMetadataInfo
getElement
-
Field Details
-
ci
-
el
-
-
Constructor Details
-
APMethodInfo
-
-
Method Details
-
getDeclaringClass
- Specified by:
getDeclaringClassin interfaceMethodInfo- Returns:
- reference to syntactically-enclosing class
-
getName
- Specified by:
getNamein interfaceMethodInfo- Returns:
- short method name.
-
getReturnType
- Specified by:
getReturnTypein interfaceMethodInfo- Returns:
- fully qualified return type
-
getParameters
- Specified by:
getParametersin interfaceMethodInfo- Returns:
- collection of method parameters.
-
getAnnotation
- Specified by:
getAnnotationin interfaceMethodInfo- Type Parameters:
T- annotation type- Parameters:
annClass- annotation class- Returns:
- method-level annotation, if any; null otherwise
-
isPublic
public boolean isPublic()- Specified by:
isPublicin interfaceMethodInfo- Returns:
- true, if method is public
-
isAbstract
public boolean isAbstract()- Specified by:
isAbstractin interfaceMethodInfo- Returns:
- true, if method is abstract
-
isSynchronized
public boolean isSynchronized()- Specified by:
isSynchronizedin interfaceMethodInfo- Returns:
- true, if method is synchronized
-
isStrictFP
public boolean isStrictFP()- Specified by:
isStrictFPin interfaceMethodInfo- Returns:
- true, if method is strictfp
-
isStatic
public boolean isStatic()- Specified by:
isStaticin interfaceMethodInfo- Returns:
- true, if method is static
-
getQualifiedName
- Specified by:
getQualifiedNamein interfaceMethodInfo- Returns:
- fully qualified method name, includes class qualified name
-
compareTo
- Specified by:
compareToin interfaceComparable<MethodInfo>
-
toString
-