1 /*2 * Copyright 2004 The Apache Software Foundation.3 *4 * Licensed under the Apache License, Version 2.0 (the "License");5 * you may not use this file except in compliance with the License.6 * You may obtain a copy of the License at7 * 8 * http://www.apache.org/licenses/LICENSE-2.09 * 10 * Unless required by applicable law or agreed to in writing, software11 * distributed under the License is distributed on an "AS IS" BASIS,12 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.13 * See the License for the specific language governing permissions and14 * limitations under the License.15 *16 * $Header:$17 */18 package org.apache.beehive.netui.compiler.xdoclet.typesystem.impl.type;19 20 import org.apache.beehive.netui.compiler.typesystem.declaration.AnnotationTypeDeclaration;21 import org.apache.beehive.netui.compiler.typesystem.declaration.InterfaceDeclaration;22 import org.apache.beehive.netui.compiler.typesystem.declaration.TypeDeclaration;23 import org.apache.beehive.netui.compiler.typesystem.type.AnnotationType;24 import org.apache.beehive.netui.compiler.typesystem.type.DeclaredType;25 import org.apache.beehive.netui.compiler.typesystem.type.InterfaceType;26 import org.apache.beehive.netui.compiler.xdoclet.typesystem.impl.DelegatingImpl;27 28 public class AnnotationTypeImpl29 extends DelegatingImpl30 implements AnnotationType31 {32 public AnnotationTypeImpl( AnnotationTypeDeclaration decl )33 {34 super( decl );35 }36 37 public AnnotationTypeDeclaration getAnnotationTypeDeclaration()38 {39 return ( AnnotationTypeDeclaration ) getDelegate();40 }41 42 public InterfaceDeclaration getInterfaceTypeDeclaration()43 {44 assert false : "NYI";45 throw new UnsupportedOperationException ( "NYI" );46 }47 48 public DeclaredType getContainingType()49 {50 assert false : "NYI";51 throw new UnsupportedOperationException ( "NYI" );52 }53 54 public InterfaceType[] getSuperinterfaces()55 {56 assert false : "NYI";57 throw new UnsupportedOperationException ( "NYI" );58 }59 60 public TypeDeclaration getDeclaration()61 {62 return ( TypeDeclaration ) getDelegate();63 }64 }65