org.mesopotamia.lang.java.ref
Interface TypeInfo

All Superinterfaces:
Info
All Known Subinterfaces:
PrimitiveTypeInfo
All Known Implementing Classes:
AnnotationDefinition, ClassDefinition, ClassOrInterfaceDefinition, EnumDefinition, InterfaceDefinition, JavaClassTypeInfo, SoftCachingTypeInfo, TypeDefinition, TypeInfoImpl, TypeParameter

public interface TypeInfo
extends Info


Method Summary
 MethodInfo findConstructor(java.lang.String[] argumentTypes)
           
 TypeInfo findNestedType(java.lang.String name)
           
 MethodInfo findTypeMethod(java.lang.String name, java.lang.String[] argumentTypes)
           
 VariableInfo findTypeVariable(java.lang.String name)
           
 boolean isKindOf(java.lang.String superFcn)
           
 
Methods inherited from interface org.mesopotamia.lang.java.ref.Info
getDeclaringType, getFcn, getModifiers, getName
 

Method Detail

isKindOf

boolean isKindOf(java.lang.String superFcn)
Parameters:
superFcn - Fully qualified name of superclass or superinterface.
Returns:
true if class/interface represented by this type info is the same or subclass or subinterface of class/interface with name passed in superFcn parameter.

findNestedType

TypeInfo findNestedType(java.lang.String name)

findTypeVariable

VariableInfo findTypeVariable(java.lang.String name)

findTypeMethod

MethodInfo findTypeMethod(java.lang.String name,
                          java.lang.String[] argumentTypes)

findConstructor

MethodInfo findConstructor(java.lang.String[] argumentTypes)


Copyright © 2005 Hammurapi Group. All Rights Reserved.