Class RFConstructorInfo
java.lang.Object
org.openjdk.jmh.generators.reflection.RFConstructorInfo
- All Implemented Interfaces:
Comparable<MethodInfo>, MetadataInfo, MethodInfo
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionint<T extends Annotation>
TgetAnnotation(Class<T> annClass) getName()booleanbooleanisPublic()booleanisStatic()booleanboolean
-
Field Details
-
declaringClass
-
m
-
-
Constructor Details
-
RFConstructorInfo
-
-
Method Details
-
getDeclaringClass
- Specified by:
getDeclaringClassin interfaceMethodInfo- Returns:
- reference to syntactically-enclosing class
-
getName
- Specified by:
getNamein interfaceMethodInfo- Returns:
- short method name.
-
getQualifiedName
- Specified by:
getQualifiedNamein interfaceMethodInfo- Returns:
- fully qualified method name, includes class qualified 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
-
compareTo
- Specified by:
compareToin interfaceComparable<MethodInfo>
-