public interface MethodInfo extends Comparable<MethodInfo>, MetadataInfo
Modifier and Type | Method and Description |
---|---|
<T extends Annotation> |
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() |
compareTo
String getName()
String getQualifiedName()
String getReturnType()
Collection<ParameterInfo> getParameters()
ClassInfo getDeclaringClass()
<T extends Annotation> T getAnnotation(Class<T> annClass)
T
- annotation typeannClass
- annotation classboolean isPublic()
boolean isAbstract()
boolean isSynchronized()
boolean isStrictFP()
boolean isStatic()
Copyright © 2012–2020 Oracle. All rights reserved.