public AnnotationValue[] getAnnotations() { if (allAnnotationsArray == NOT_CONFIGURED) setupAnnotations(annotationHelper.getAnnotations(ctClass)); return allAnnotationsArray; }
protected AnnotationValue[] getAnnotations(Object obj) { synchronized (this) { if (allAnnotationsArray == NOT_CONFIGURED) { allAnnotationsArray = annotationHelper.getAnnotations(obj); setupAnnotations(allAnnotationsArray); } } return allAnnotationsArray; }
protected AnnotationValue[] getAnnotations(Object obj) { synchronized (this) { if (annotationsArray == NOT_CONFIGURED) { annotationsArray = null; setupAnnotations(annotationHelper.getAnnotations(obj)); } } return annotationsArray; }
protected AnnotationValue[] getAnnotations(Object obj) { synchronized (this) { if (annotationsArray == NOT_CONFIGURED) { annotationsArray = null; setupAnnotations(annotationHelper.getAnnotations(obj)); } } return annotationsArray; }
/** * Get the declared annotations * * @return the declared annotations */ protected AnnotationValue[] getDeclaredAnnotations() { if (declaredAnnotationsArray == UNKNOWN_ANNOTATIONS) setupAnnotations(annotationHelper.getAnnotations(annotatedElement)); return declaredAnnotationsArray; }
/** * Get all the annotations as a map * * @return the map */ protected Map<String, AnnotationValue> getAllAnnotations() { if (allAnnotations == null) setupAnnotations(annotationHelper.getAnnotations(ctClass)); return allAnnotations; }
public boolean isAnnotationPresent(String name) { if (allAnnotations == UNKNOWN_ANNOTATIONS_MAP) setupAnnotations(annotationHelper.getAnnotations(annotatedElement)); return allAnnotations.containsKey(name); }
/** * Get all the annotations as a map * * @return the map */ protected Map<String, AnnotationValue> getAllAnnotations() { if (allAnnotations == UNKNOWN_ANNOTATIONS_MAP) setupAnnotations(annotationHelper.getAnnotations(annotatedElement)); return allAnnotations; }
public AnnotationValue[] getAnnotations() { if (allAnnotationsArray == UNKNOWN_ANNOTATIONS) setupAnnotations(annotationHelper.getAnnotations(annotatedElement)); return allAnnotationsArray; }
public AnnotationValue getAnnotation(String name) { if (allAnnotations == UNKNOWN_ANNOTATIONS_MAP) setupAnnotations(annotationHelper.getAnnotations(annotatedElement)); return allAnnotations.get(name); }
public boolean isAnnotationPresent(String name) { if (allAnnotations == UNKNOWN_ANNOTATIONS_MAP) setupAnnotations(annotationHelper.getAnnotations(annotatedElement)); return allAnnotations.containsKey(name); }
public AnnotationValue[] getAnnotations() { if (allAnnotationsArray == UNKNOWN_ANNOTATIONS) setupAnnotations(annotationHelper.getAnnotations(annotatedElement)); return allAnnotationsArray; }
public AnnotationValue getAnnotation(String name) { if (allAnnotations == UNKNOWN_ANNOTATIONS_MAP) setupAnnotations(annotationHelper.getAnnotations(annotatedElement)); return allAnnotations.get(name); }
protected AnnotationValue[] getAnnotations(Object obj) { synchronized (this) { if (annotationsArray == NOT_CONFIGURED) { annotationsArray = null; setupAnnotations(annotationHelper.getAnnotations(obj)); } } return annotationsArray; }
public AnnotationValue[] getAnnotations() { if (allAnnotationsArray == NOT_CONFIGURED) setupAnnotations(annotationHelper.getAnnotations(classBytes)); return allAnnotationsArray; }
/** * Get all the annotations as a map * * @return the map */ protected Map<String, AnnotationValue> getAllAnnotations() { if (allAnnotations == null) setupAnnotations(annotationHelper.getAnnotations(classBytes)); return allAnnotations; }
/** * Get the declared annotations * * @param name the annotation name * @return the declared annotations */ protected AnnotationValue getDeclaredAnnotation(String name) { if (declaredAnnotations == UNKNOWN_ANNOTATIONS_MAP) setupAnnotations(annotationHelper.getAnnotations(annotatedElement)); return declaredAnnotations.get(name); }
/** * Is declared annotation present. * * @param name the annotation name * @return true if the annotation is present, false otherwise */ protected boolean isDeclaredAnnotationPresent(String name) { if (declaredAnnotations == UNKNOWN_ANNOTATIONS_MAP) setupAnnotations(annotationHelper.getAnnotations(annotatedElement)); return declaredAnnotations.containsKey(name); }
/** * Get all the annotations as a map * * @return the map */ protected Map<String, AnnotationValue> getAllAnnotations() { if (allAnnotations == null) setupAnnotations(annotationHelper.getAnnotations(ctClass)); return allAnnotations; }
/** * Get the declared annotations * * @return the declared annotations */ public AnnotationValue[] getDeclaredAnnotations() { if (declaredAnnotationsArray == UNKNOWN_ANNOTATIONS) setupAnnotations(annotationHelper.getAnnotations(annotatedElement)); return declaredAnnotationsArray; }