    001/**
    002 * Licensed under the Apache License, Version 2.0 (the "License");
    003 * you may not use this file except in compliance with the License.
    004 * You may obtain a copy of the License at
    005 *
    006 *     http://www.apache.org/licenses/LICENSE-2.0
    007 *
    008 * Unless required by applicable law or agreed to in writing, software
    009 * distributed under the License is distributed on an "AS IS" BASIS,
    010 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
    011 * See the License for the specific language governing permissions and
    012 * limitations under the License.
    013 */
    014package org.apache.tapestry5.internal.jpa;
    015
    016import java.lang.annotation.Annotation;
    017import java.lang.reflect.Type;
    018import java.util.Set;
    019
    020import javax.enterprise.inject.spi.AnnotatedConstructor;
    021import javax.enterprise.inject.spi.AnnotatedField;
    022import javax.enterprise.inject.spi.AnnotatedMethod;
    023import javax.enterprise.inject.spi.AnnotatedType;
    024
    025public class NoopAnnotatedType<X> implements AnnotatedType<X>
    026{
    027
    028    @Override
    029    public Type getBaseType()
    030    {
    031        // TODO Auto-generated method stub
    032        return null;
    033    }
    034
    035    @Override
    036    public Set<Type> getTypeClosure()
    037    {
    038        // TODO Auto-generated method stub
    039        return null;
    040    }
    041
    042    @Override
    043    public <T extends Annotation> T getAnnotation(Class<T> annotationType)
    044    {
    045        // TODO Auto-generated method stub
    046        return null;
    047    }
    048
    049    @Override
    050    public Set<Annotation> getAnnotations()
    051    {
    052        // TODO Auto-generated method stub
    053        return null;
    054    }
    055
    056    @Override
    057    public boolean isAnnotationPresent(Class<? extends Annotation> annotationType)
    058    {
    059        // TODO Auto-generated method stub
    060        return false;
    061    }
    062
    063    @Override
    064    public Class<X> getJavaClass()
    065    {
    066        // TODO Auto-generated method stub
    067        return null;
    068    }
    069
    070    @Override
    071    public Set<AnnotatedConstructor<X>> getConstructors()
    072    {
    073        // TODO Auto-generated method stub
    074        return null;
    075    }
    076
    077    @Override
    078    public Set<AnnotatedMethod<? super X>> getMethods()
    079    {
    080        // TODO Auto-generated method stub
    081        return null;
    082    }
    083
    084    @Override
    085    public Set<AnnotatedField<? super X>> getFields()
    086    {
    087        // TODO Auto-generated method stub
    088        return null;
    089    }
    090
    091}