Package jodd.proxetta
Interface ClassInfo
-
- All Known Implementing Classes:
TargetClassInfoReader
public interface ClassInfo
Various target class information.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default AnnotationInfo
getAnnotation(java.lang.Class<? extends java.lang.annotation.Annotation> an)
Finds annotation in class info.AnnotationInfo[]
getAnnotations()
Returns annotation information ornull
if target class has no annotations.java.lang.String
getClassname()
Returns simple class name.java.lang.String
getPackage()
Returns package name.java.lang.String
getReference()
Returns class reference.java.lang.String[]
getSuperClasses()
Returns array of super classes.java.lang.String
getSuperName()
Returns super class reference.default boolean
hasAnnotation(java.lang.Class<? extends java.lang.annotation.Annotation>... an)
Returnstrue
if 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 ornull
if target class has no annotations.
-
getAnnotation
default AnnotationInfo getAnnotation(java.lang.Class<? extends java.lang.annotation.Annotation> an)
Finds annotation in class info. Returnsnull
if annotation doesn't exist.
-
hasAnnotation
default boolean hasAnnotation(java.lang.Class<? extends java.lang.annotation.Annotation>... an)
Returnstrue
if class is annotated with one of provided annotation.
-
-