Package jodd.proxetta
Interface ClassInfo
-
- All Known Implementing Classes:
TargetClassInfoReader
public interface ClassInfoVarious target class information.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default AnnotationInfogetAnnotation(java.lang.Class<? extends java.lang.annotation.Annotation> an)Finds annotation in class info.AnnotationInfo[]getAnnotations()Returns annotation information ornullif target class has no annotations.java.lang.StringgetClassname()Returns simple class name.java.lang.StringgetPackage()Returns package name.java.lang.StringgetReference()Returns class reference.java.lang.String[]getSuperClasses()Returns array of super classes.java.lang.StringgetSuperName()Returns super class reference.default booleanhasAnnotation(java.lang.Class<? extends java.lang.annotation.Annotation>... an)Returnstrueif class is annotated with one of provided annotation.
-
-
-
Method Detail
-
getPackage
java.lang.String getPackage()
Returns package name.
-
getClassname
java.lang.String getClassname()
Returns simple class name.
-
getSuperName
java.lang.String getSuperName()
Returns super class reference.
-
getReference
java.lang.String getReference()
Returns class reference.
-
getSuperClasses
java.lang.String[] getSuperClasses()
Returns array of super classes.
-
getAnnotations
AnnotationInfo[] getAnnotations()
Returns annotation information ornullif target class has no annotations.
-
getAnnotation
default AnnotationInfo getAnnotation(java.lang.Class<? extends java.lang.annotation.Annotation> an)
Finds annotation in class info. Returnsnullif annotation doesn't exist.
-
hasAnnotation
default boolean hasAnnotation(java.lang.Class<? extends java.lang.annotation.Annotation>... an)
Returnstrueif class is annotated with one of provided annotation.
-
-