KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > net > innig > macker > structure > ClassInfo


1 /*______________________________________________________________________________
2  *
3  * Macker http://innig.net/macker/
4  *
5  * Copyright 2002-2003 Paul Cantrell
6  *
7  * This program is free software; you can redistribute it and/or modify it under
8  * the terms of the GNU General Public License version 2, as published by the
9  * Free Software Foundation. See the file LICENSE.html for more information.
10  *
11  * This program is distributed in the hope that it will be useful, but WITHOUT
12  * ANY WARRANTY, including the implied warranty of MERCHANTABILITY or FITNESS
13  * FOR A PARTICULAR PURPOSE. See the license for more details.
14  *
15  * You should have received a copy of the GNU General Public License along with
16  * this program; if not, write to the Free Software Foundation, Inc. / 59 Temple
17  * Place, Suite 330 / Boston, MA 02111-1307 / USA.
18  *______________________________________________________________________________
19  */

20  
21 package net.innig.macker.structure;
22
23 import java.util.*;
24 import net.innig.collect.*;
25
26 /**
27     Information about a class's structure.
28 */

29 public interface ClassInfo
30     extends Comparable JavaDoc
31     {
32     public ClassManager getClassManager();
33     public boolean isComplete();
34
35     public String JavaDoc getFullName();
36     public String JavaDoc getClassName();
37     public String JavaDoc getPackageName();
38
39     public boolean isInterface();
40     public boolean isAbstract();
41     public boolean isFinal();
42     public AccessModifier getAccessModifier();
43     
44     public ClassInfo getExtends();
45     public Set/*<ClassInfo>*/ getImplements();
46     public Set/*<ClassInfo>*/ getDirectSupertypes();
47     public Set/*<ClassInfo>*/ getSupertypes();
48
49     public MultiMap/*<ClassInfo,Reference>*/ getReferences();
50     }
51
52
Popular Tags