/** * Gets a string representation of the scope model * * @return The string representation */ @Override public String toString() { String valid = isValid() ? "Valid " : "Invalid"; String normal = isNormal() ? "normal " : "non-normal "; String passivating = isPassivating() ? "passivating " : "pon-passivating "; return valid + normal + passivating + " scope model for " + getRawType(); }
/** * Gets a string representation of the scope model * * @return The string representation */ @Override public String toString() { String valid = isValid() ? "Valid " : "Invalid"; String normal = isNormal() ? "normal " : "non-normal "; String passivating = isPassivating() ? "passivating " : "pon-passivating "; return valid + normal + passivating + " scope model for " + getRawType(); }
/** * Gets a string representation of the scope model * * @return The string representation */ @Override public String toString() { String valid = isValid() ? "Valid " : "Invalid"; String normal = isNormal() ? "normal " : "non-normal "; String passivating = isPassivating() ? "passivating " : "pon-passivating "; return valid + normal + passivating + " scope model for " + getRawType(); }
/** * Gets a string representation of the scope model * * @return The string representation */ @Override public String toString() { String valid = isValid() ? "Valid " : "Invalid"; String normal = isNormal() ? "normal " : "non-normal "; String passivating = isPassivating() ? "passivating " : "pon-passivating "; return valid + normal + passivating + " scope model for " + getRawType(); }
/** * Gets a string representation of the scope model * * @return The string representation */ @Override public String toString() { String valid = isValid() ? "Valid " : "Invalid"; String normal = isNormal() ? "normal " : "non-normal "; String passivating = isPassivating() ? "passivating " : "pon-passivating "; return valid + normal + passivating + " scope model for " + getRawType(); }
@Override public boolean isPassivatingScope(Class<? extends Annotation> annotationType) { ScopeModel<?> scope = getServices().get(MetaAnnotationStore.class).getScopeModel(annotationType); return scope.isValid() && scope.isPassivating(); }
@Override public boolean isNormalScope(Class<? extends Annotation> annotationType) { ScopeModel<?> scope = getServices().get(MetaAnnotationStore.class).getScopeModel(annotationType); return scope.isValid() && scope.isNormal(); }
@Override public boolean isNormalScope(Class<? extends Annotation> annotationType) { ScopeModel<?> scope = getServices().get(MetaAnnotationStore.class).getScopeModel(annotationType); return scope.isValid() && scope.isNormal(); }
@Override public boolean isPassivatingScope(Class<? extends Annotation> annotationType) { ScopeModel<?> scope = getServices().get(MetaAnnotationStore.class).getScopeModel(annotationType); return scope.isValid() && scope.isPassivating(); }
@Override public boolean isPassivatingScope(Class<? extends Annotation> annotationType) { ScopeModel<?> scope = getServices().get(MetaAnnotationStore.class).getScopeModel(annotationType); return scope.isValid() && scope.isPassivating(); }
@Override public boolean isNormalScope(Class<? extends Annotation> annotationType) { ScopeModel<?> scope = getServices().get(MetaAnnotationStore.class).getScopeModel(annotationType); return scope.isValid() && scope.isNormal(); }
@Override public boolean isNormalScope(Class<? extends Annotation> annotationType) { ScopeModel<?> scope = getServices().get(MetaAnnotationStore.class).getScopeModel(annotationType); return scope.isValid() && scope.isNormal(); }
@Override public boolean isPassivatingScope(Class<? extends Annotation> annotationType) { ScopeModel<?> scope = getServices().get(MetaAnnotationStore.class).getScopeModel(annotationType); return scope.isValid() && scope.isPassivating(); }
@Override public boolean isNormalScope(Class<? extends Annotation> annotationType) { ScopeModel<?> scope = getServices().get(MetaAnnotationStore.class).getScopeModel(annotationType); return scope.isValid() && scope.isNormal(); }
@Override public boolean isPassivatingScope(Class<? extends Annotation> annotationType) { ScopeModel<?> scope = getServices().get(MetaAnnotationStore.class).getScopeModel(annotationType); return scope.isValid() && scope.isPassivating(); }
@Override protected void check(EnhancedAnnotation<T> annotatedAnnotation) { super.check(annotatedAnnotation); if (isValid()) { if (!annotatedAnnotation.isAnnotationPresent(Target.class)) { ReflectionLogger.LOG.missingTarget(annotatedAnnotation); } else if (!Arrays2.unorderedEquals(annotatedAnnotation.getAnnotation(Target.class).value(), METHOD, FIELD, TYPE)) { ReflectionLogger.LOG.missingTargetMethodFieldType(annotatedAnnotation); } } }
@Override protected void check(EnhancedAnnotation<T> annotatedAnnotation) { super.check(annotatedAnnotation); if (isValid()) { if (!annotatedAnnotation.isAnnotationPresent(Target.class)) { ReflectionLogger.LOG.missingTarget(annotatedAnnotation); } else if (!Arrays2.unorderedEquals(annotatedAnnotation.getAnnotation(Target.class).value(), METHOD, FIELD, TYPE)) { ReflectionLogger.LOG.missingTargetMethodFieldType(annotatedAnnotation); } } }
@Override protected void check(EnhancedAnnotation<T> annotatedAnnotation) { super.check(annotatedAnnotation); if (isValid()) { if (!annotatedAnnotation.isAnnotationPresent(Target.class)) { ReflectionLogger.LOG.missingTarget(annotatedAnnotation); } else if (!Arrays2.unorderedEquals(annotatedAnnotation.getAnnotation(Target.class).value(), METHOD, FIELD, TYPE)) { ReflectionLogger.LOG.missingTargetMethodFieldType(annotatedAnnotation); } } }
@Override protected void check(EnhancedAnnotation<T> annotatedAnnotation) { super.check(annotatedAnnotation); if (isValid()) { if (!annotatedAnnotation.isAnnotationPresent(Target.class)) { ReflectionLogger.LOG.missingTarget(annotatedAnnotation); } else if (!Arrays2.unorderedEquals(annotatedAnnotation.getAnnotation(Target.class).value(), METHOD, FIELD, TYPE)) { ReflectionLogger.LOG.missingTargetMethodFieldType(annotatedAnnotation); } } }
@Override protected void check(EnhancedAnnotation<T> annotatedAnnotation) { super.check(annotatedAnnotation); if (isValid()) { if (!annotatedAnnotation.isAnnotationPresent(Target.class)) { ReflectionLogger.LOG.missingTarget(annotatedAnnotation); } else if (!Arrays2.unorderedEquals(annotatedAnnotation.getAnnotation(Target.class).value(), METHOD, FIELD, TYPE)) { ReflectionLogger.LOG.missingTargetMethodFieldType(annotatedAnnotation); } } }