1 2 29 package com.puppycrawl.tools.checkstyle.checks.usage.transmogrify; 30 31 32 33 import java.util.List ; 34 35 43 public interface IClass extends IDefinition { 44 45 49 public IClass getSuperclass(); 50 51 55 public IClass[] getInterfaces(); 56 57 61 public List getSubclasses(); 62 63 69 public IClass getClassDefinition(String name); 70 71 81 public IMethod getMethodDefinition(String name, 82 ISignature signature); 83 84 91 public IVariable getVariableDefinition(String name); 92 93 95 102 public void addSubclass(ClassDef subclass); 103 104 111 public void addImplementor(ClassDef implementor); 112 113 118 public List getImplementors(); 119 120 127 public boolean isCompatibleWith(IClass type); 128 129 134 public boolean isPrimitive(); 135 136 140 public IClass[] getInnerClasses(); 141 142 } 143 | Popular Tags |