@Override public <U> EnhancedAnnotatedType<? extends U> asEnhancedSubclass(EnhancedAnnotatedType<U> clazz) { return cast(this); }
@Override public <U> EnhancedAnnotatedType<? extends U> asEnhancedSubclass(EnhancedAnnotatedType<U> clazz) { return cast(this); }
@Override public Set<AnnotatedField<? super T>> getFields() { return cast(fields); }
@Override public <U> EnhancedAnnotatedType<? extends U> asEnhancedSubclass(EnhancedAnnotatedType<U> clazz) { return cast(this); }
@Override public <F> EnhancedAnnotatedField<F, ?> getDeclaredEnhancedField(String fieldName) { for (EnhancedAnnotatedField<?, ?> field : declaredFields) { if (field.getName().equals(fieldName)) { return cast(field); } } return null; }
@Override public <M> EnhancedAnnotatedMethod<M, ?> getDeclaredEnhancedMethod(MethodSignature signature) { for (EnhancedAnnotatedMethod<?, ? super T> method : declaredMethods) { if (method.getSignature().equals(signature)) { return cast(method); } } return null; }
@Override public <M> EnhancedAnnotatedMethod<M, ?> getDeclaredEnhancedMethod(MethodSignature signature) { for (EnhancedAnnotatedMethod<?, ? super T> method : declaredMethods) { if (method.getSignature().equals(signature)) { return cast(method); } } return null; }
@Override public <F> EnhancedAnnotatedField<F, ?> getDeclaredEnhancedField(String fieldName) { for (EnhancedAnnotatedField<?, ?> field : declaredFields) { if (field.getName().equals(fieldName)) { return cast(field); } } return null; }
@Override public <F> EnhancedAnnotatedField<F, ?> getDeclaredEnhancedField(String fieldName) { for (EnhancedAnnotatedField<?, ?> field : declaredFields) { if (field.getName().equals(fieldName)) { return cast(field); } } return null; }
@Override public <M> EnhancedAnnotatedMethod<M, ?> getDeclaredEnhancedMethod(MethodSignature signature) { for (EnhancedAnnotatedMethod<?, ? super T> method : declaredMethods) { if (method.getSignature().equals(signature)) { return cast(method); } } return null; }
@Override public <F> EnhancedAnnotatedField<F, ?> getDeclaredEnhancedField(String fieldName) { for (EnhancedAnnotatedField<?, ?> field : declaredFields) { if (field.getName().equals(fieldName)) { return cast(field); } } return null; }
@Override public Set<AnnotatedMethod<? super T>> getMethods() { return cast(Sets.union(methods, overriddenMethods)); }
@Override public <F> EnhancedAnnotatedField<F, ?> getDeclaredEnhancedField(String fieldName) { for (EnhancedAnnotatedField<?, ?> field : declaredFields) { if (field.getName().equals(fieldName)) { return cast(field); } } return null; }
@Override public <M> EnhancedAnnotatedMethod<M, ?> getDeclaredEnhancedMethod(MethodSignature signature) { for (EnhancedAnnotatedMethod<?, ? super T> method : declaredMethods) { if (method.getSignature().equals(signature)) { return cast(method); } } return null; }
@Override public <M> EnhancedAnnotatedMethod<M, ?> getDeclaredEnhancedMethod(MethodSignature signature) { for (EnhancedAnnotatedMethod<?, ? super T> method : declaredMethods) { if (method.getSignature().equals(signature)) { return cast(method); } } return null; }
@Override public Set<AnnotatedMethod<? super T>> getMethods() { return cast(Sets.union(methods, overriddenMethods)); }
@Override public <M> EnhancedAnnotatedMethod<M, ?> getEnhancedMethod(MethodSignature signature) { EnhancedAnnotatedMethod<M, ?> method = cast(getDeclaredEnhancedMethod(signature)); if ((method == null) && (superclass != null) && (superclass.getJavaClass() != Object.class)) { method = superclass.getEnhancedMethod(signature); } return method; }
@Override public <M> EnhancedAnnotatedMethod<M, ?> getEnhancedMethod(MethodSignature signature) { EnhancedAnnotatedMethod<M, ?> method = cast(getDeclaredEnhancedMethod(signature)); if ((method == null) && (superclass != null) && (superclass.getJavaClass() != Object.class)) { method = superclass.getEnhancedMethod(signature); } return method; }
@Override public <M> EnhancedAnnotatedMethod<M, ?> getEnhancedMethod(MethodSignature signature) { EnhancedAnnotatedMethod<M, ?> method = cast(getDeclaredEnhancedMethod(signature)); if ((method == null) && (superclass != null) && (superclass.getJavaClass() != Object.class)) { method = superclass.getEnhancedMethod(signature); } return method; }
@Override public <M> EnhancedAnnotatedMethod<M, ?> getEnhancedMethod(MethodSignature signature) { EnhancedAnnotatedMethod<M, ?> method = cast(getDeclaredEnhancedMethod(signature)); if ((method == null) && (superclass != null) && (superclass.getJavaClass() != Object.class)) { method = superclass.getEnhancedMethod(signature); } return method; }