001 package org.mesopotamia.lang.java.ref; 002 003 004 public interface TypeInfo extends Info { 005 006 /** 007 * @param superFcn Fully qualified name of superclass or superinterface. 008 * @return true if class/interface represented by this type info is the same 009 * or subclass or subinterface of class/interface with name passed in superFcn 010 * parameter. 011 */ 012 boolean isKindOf(String superFcn); 013 014 TypeInfo findNestedType(String name); 015 016 VariableInfo findTypeVariable(String name); 017 018 MethodInfo findTypeMethod(String name, String[] argumentTypes); 019 020 MethodInfo findConstructor(String[] argumentTypes); 021 022 // TODO - annotations, type parameters. 023 }