1 26 27 package org.objectweb.openccm.ast.lib; 28 29 30 import org.objectweb.openccm.ast.api.Declaration; 31 32 45 46 public class DeclarationListImpl 47 extends ListBaseImpl 48 { 49 55 61 64 public 65 DeclarationListImpl() 66 { 67 super(); 69 } 70 71 77 83 88 public void 89 addDecl(Declaration decl) 90 { 91 super.addObject(decl); 92 } 93 94 99 public Declaration[] 100 getDeclarations() 101 { 102 return (Declaration[])super.toArray(new Declaration[0]); 103 } 104 } 105 | Popular Tags |