org.openjdk.jmh.generators.annotations
Class APMethodInfo

java.lang.Object
  extended by org.openjdk.jmh.generators.annotations.APMetadataInfo
      extended by org.openjdk.jmh.generators.annotations.APMethodInfo
All Implemented Interfaces:
Comparable<MethodInfo>, MetadataInfo, MethodInfo

public class APMethodInfo
extends APMetadataInfo
implements MethodInfo


Field Summary
 
Fields inherited from class org.openjdk.jmh.generators.annotations.APMetadataInfo
processEnv
 
Constructor Summary
APMethodInfo(ProcessingEnvironment processEnv, ClassInfo ci, ExecutableElement el)
           
 
Method Summary
 int compareTo(MethodInfo o)
           
<T extends Annotation>
T
getAnnotation(Class<T> annClass)
           
 ClassInfo getDeclaringClass()
           
 String getName()
           
 Collection<ParameterInfo> getParameters()
           
 String getQualifiedName()
           
 String getReturnType()
           
 boolean isAbstract()
           
 boolean isPublic()
           
 boolean isStatic()
           
 boolean isStrictFP()
           
 boolean isSynchronized()
           
 String toString()
           
 
Methods inherited from class org.openjdk.jmh.generators.annotations.APMetadataInfo
getElement
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

APMethodInfo

public APMethodInfo(ProcessingEnvironment processEnv,
                    ClassInfo ci,
                    ExecutableElement el)
Method Detail

getDeclaringClass

public ClassInfo getDeclaringClass()
Specified by:
getDeclaringClass in interface MethodInfo

getName

public String getName()
Specified by:
getName in interface MethodInfo

getReturnType

public String getReturnType()
Specified by:
getReturnType in interface MethodInfo

getParameters

public Collection<ParameterInfo> getParameters()
Specified by:
getParameters in interface MethodInfo

getAnnotation

public <T extends Annotation> T getAnnotation(Class<T> annClass)
Specified by:
getAnnotation in interface MethodInfo

isPublic

public boolean isPublic()
Specified by:
isPublic in interface MethodInfo

isAbstract

public boolean isAbstract()
Specified by:
isAbstract in interface MethodInfo

isSynchronized

public boolean isSynchronized()
Specified by:
isSynchronized in interface MethodInfo

isStrictFP

public boolean isStrictFP()
Specified by:
isStrictFP in interface MethodInfo

isStatic

public boolean isStatic()
Specified by:
isStatic in interface MethodInfo

getQualifiedName

public String getQualifiedName()
Specified by:
getQualifiedName in interface MethodInfo

compareTo

public int compareTo(MethodInfo o)
Specified by:
compareTo in interface Comparable<MethodInfo>

toString

public String toString()
Overrides:
toString in class Object


Copyright © 2014. All Rights Reserved.