String getAnnotationName() { Annotation annotation = annotationStrategy.getAnnotation(); if (annotation != null) { return annotation.toString(); } // not test-covered return annotationStrategy.getAnnotationType().toString(); }
boolean hasAnnotationType() { return annotationStrategy.getAnnotationType() != null; }
boolean hasAnnotationType() { return annotationStrategy.getAnnotationType() != null; }
boolean hasAnnotationType() { return annotationStrategy.getAnnotationType() != null; }
boolean hasAnnotationType() { return annotationStrategy.getAnnotationType() != null; }
/** * Gets the annotation type. */ public final Class<? extends Annotation> getAnnotationType() { return annotationStrategy.getAnnotationType(); }
/** * Returns true if this key has annotation attributes. */ boolean hasAttributes() { return annotationStrategy.hasAttributes(); }
/** * Gets the annotation. */ public final Annotation getAnnotation() { return annotationStrategy.getAnnotation(); }
/** * Returns true if this key has annotation attributes. */ boolean hasAttributes() { return annotationStrategy.hasAttributes(); }
/** * Gets the annotation. */ public final Annotation getAnnotation() { return annotationStrategy.getAnnotation(); }
/** * Returns true if this key has annotation attributes. */ boolean hasAttributes() { return annotationStrategy.hasAttributes(); }
/** * Returns this key without annotation attributes, i.e. with only the * annotation type. */ Key<T> withoutAttributes() { return new Key<>(typeLiteral, annotationStrategy.withoutAttributes()); }
/** * Gets the annotation. */ public final Annotation getAnnotation() { return annotationStrategy.getAnnotation(); }
/** * Gets the annotation type. */ public final Class<? extends Annotation> getAnnotationType() { return annotationStrategy.getAnnotationType(); }
String getAnnotationName() { Annotation annotation = annotationStrategy.getAnnotation(); if (annotation != null) { return annotation.toString(); } // not test-covered return annotationStrategy.getAnnotationType().toString(); }
String getAnnotationName() { Annotation annotation = annotationStrategy.getAnnotation(); if (annotation != null) { return annotation.toString(); } // not test-covered return annotationStrategy.getAnnotationType().toString(); }
/** * Gets the annotation type. */ public final Class<? extends Annotation> getAnnotationType() { return annotationStrategy.getAnnotationType(); }
/** * Gets the annotation. */ public final Annotation getAnnotation() { return annotationStrategy.getAnnotation(); }
/** * Returns this key without annotation attributes, i.e. with only the * annotation type. */ Key<T> withoutAttributes() { return new Key<>(typeLiteral, annotationStrategy.withoutAttributes()); }
String getAnnotationName() { Annotation annotation = annotationStrategy.getAnnotation(); if (annotation != null) { return annotation.toString(); } // not test-covered return annotationStrategy.getAnnotationType().toString(); }