org.openjdk.jmh.generators.annotations
Class APClassInfo

java.lang.Object
  extended by org.openjdk.jmh.generators.annotations.APMetadataInfo
      extended by org.openjdk.jmh.generators.annotations.APClassInfo
All Implemented Interfaces:
ClassInfo, MetadataInfo

public class APClassInfo
extends APMetadataInfo
implements ClassInfo


Field Summary
 
Fields inherited from class org.openjdk.jmh.generators.annotations.APMetadataInfo
processEnv
 
Constructor Summary
APClassInfo(ProcessingEnvironment processEnv, TypeElement element)
           
APClassInfo(ProcessingEnvironment processEnv, TypeMirror mirror)
           
 
Method Summary
<T extends Annotation>
T
getAnnotation(Class<T> annClass)
           
 Collection<MethodInfo> getConstructors()
           
 ClassInfo getDeclaringClass()
           
 Collection<FieldInfo> getFields()
           
 Collection<MethodInfo> getMethods()
           
 String getName()
           
 String getPackageName()
           
 String getQualifiedName()
           
 ClassInfo getSuperClass()
           
 boolean isAbstract()
           
 boolean isFinal()
           
 boolean isInner()
           
 boolean isPublic()
           
 boolean isStrictFP()
           
 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

APClassInfo

public APClassInfo(ProcessingEnvironment processEnv,
                   TypeElement element)

APClassInfo

public APClassInfo(ProcessingEnvironment processEnv,
                   TypeMirror mirror)
Method Detail

getAnnotation

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

getConstructors

public Collection<MethodInfo> getConstructors()
Specified by:
getConstructors in interface ClassInfo

getName

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

getQualifiedName

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

getFields

public Collection<FieldInfo> getFields()
Specified by:
getFields in interface ClassInfo

getMethods

public Collection<MethodInfo> getMethods()
Specified by:
getMethods in interface ClassInfo

getPackageName

public String getPackageName()
Specified by:
getPackageName in interface ClassInfo

getSuperClass

public ClassInfo getSuperClass()
Specified by:
getSuperClass in interface ClassInfo

getDeclaringClass

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

isAbstract

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

isPublic

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

isStrictFP

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

isFinal

public boolean isFinal()
Specified by:
isFinal in interface ClassInfo

isInner

public boolean isInner()
Specified by:
isInner in interface ClassInfo

toString

public String toString()
Overrides:
toString in class Object


Copyright © 2014. All Rights Reserved.