
org.jboss.weld.introspector.ForwardingWeldClass Maven / Gradle / Ivy
/*
* JBoss, Home of Professional Open Source
* Copyright 2008, Red Hat, Inc., and individual contributors
* by the @authors tag. See the copyright.txt in the distribution for a
* full listing of individual contributors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
* http://www.apache.org/licenses/LICENSE-2.0
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package org.jboss.weld.introspector;
import javax.enterprise.inject.spi.AnnotatedConstructor;
import javax.enterprise.inject.spi.AnnotatedField;
import javax.enterprise.inject.spi.AnnotatedMethod;
import java.lang.annotation.Annotation;
import java.lang.reflect.Method;
import java.util.Collection;
import java.util.Set;
public abstract class ForwardingWeldClass extends ForwardingWeldAnnotated> implements WeldClass {
@Override
protected abstract WeldClass delegate();
public Collection> getDeclaredWeldMethods() {
return delegate().getDeclaredWeldMethods();
}
public WeldMethod getDeclaredWeldMethod(MethodSignature signature) {
return delegate().getDeclaredWeldMethod(signature);
}
public Set> getConstructors() {
return delegate().getConstructors();
}
public Set> getMethods() {
return delegate().getMethods();
}
public Set> getFields() {
return delegate().getFields();
}
public Collection> getWeldConstructors(Class extends Annotation> annotationType) {
return delegate().getWeldConstructors(annotationType);
}
public Collection> getWeldFields(Class extends Annotation> annotationType) {
return delegate().getWeldFields(annotationType);
}
public Collection> getWeldMethods(Class extends Annotation> annotationType) {
return delegate().getWeldMethods(annotationType);
}
public WeldConstructor getNoArgsWeldConstructor() {
return delegate().getNoArgsWeldConstructor();
}
public Collection> getWeldMethods() {
return delegate().getWeldMethods();
}
public Collection> getDeclaredWeldFields(Class extends Annotation> annotationType) {
return delegate().getDeclaredWeldFields(annotationType);
}
public Collection> getDeclaredWeldMethods(Class extends Annotation> annotationType) {
return delegate().getDeclaredWeldMethods(annotationType);
}
public Collection> getDeclaredWeldMethodsWithAnnotatedParameters(Class extends Annotation> annotationType) {
return delegate().getDeclaredWeldMethodsWithAnnotatedParameters(annotationType);
}
public Collection> getWeldFields() {
return delegate().getWeldFields();
}
@Deprecated
public WeldMethod, ?> getWeldMethod(Method method) {
return delegate().getWeldMethod(method);
}
public WeldMethod getWeldMethod(MethodSignature signature) {
return delegate().getWeldMethod(signature);
}
public WeldClass super T> getWeldSuperclass() {
return delegate().getWeldSuperclass();
}
public boolean isLocalClass() {
return delegate().isLocalClass();
}
public boolean isMemberClass() {
return delegate().isMemberClass();
}
public boolean isAnonymousClass() {
return delegate().isAnonymousClass();
}
@Override
public boolean isParameterizedType() {
return delegate().isParameterizedType();
}
public boolean isAbstract() {
return delegate().isAbstract();
}
public boolean isEnum() {
return delegate().isEnum();
}
public boolean isSerializable() {
return delegate().isSerializable();
}
@Deprecated
public WeldMethod, ?> getDeclaredWeldMethod(Method method) {
return delegate().getDeclaredWeldMethod(method);
}
public WeldField getDeclaredWeldField(String fieldName) {
return delegate().getDeclaredWeldField(fieldName);
}
public WeldMethod getDeclaredWeldMethod(MethodSignature signature, WeldClass expectedReturnType) {
return delegate().getDeclaredWeldMethod(signature);
}
public WeldConstructor getDeclaredWeldConstructor(ConstructorSignature signature) {
return delegate().getDeclaredWeldConstructor(signature);
}
public WeldClass extends U> asWeldSubclass(WeldClass clazz) {
return delegate().asWeldSubclass(clazz);
}
public S cast(Object object) {
return delegate().cast(object);
}
public boolean isEquivalent(Class> clazz) {
return delegate().isEquivalent(clazz);
}
public String getSimpleName() {
return delegate().getSimpleName();
}
public Collection getDeclaredMetaAnnotations(Class extends Annotation> metaAnnotationType) {
return delegate().getDeclaredMetaAnnotations(metaAnnotationType);
}
public boolean isDiscovered() {
return delegate().isDiscovered();
}
public boolean isModified() {
return delegate().isModified();
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy