biz.hammurapi.mesopotamia.lang.javax
Interface TypeInfo
- All Superinterfaces:
- Client<Info>, Info, Scope, Supplier<TypeInfo>
- All Known Implementing Classes:
- ClassDefinitionEx, InterfaceDefinitionEx, TypeImportDefinition
public interface TypeInfo
- extends Info, Scope, Client<Info>, Supplier<TypeInfo>
getPackage
PackageInfo getPackage()
getDeclaringType
TypeInfo getDeclaringType()
isAssignableFrom
boolean isAssignableFrom(TypeInfo subType)
- Parameters:
superType -
- Returns:
- if this type info represents the same type or super interface or
super type of type info passed in subType parameter.
getSupertypes
TypeInfo[] getSupertypes()
- Returns:
- Super types. For classes superclass is the first element
in the list. java.lang.Object is never included.
getSubtypes
TypeInfo[] getSubtypes()
- Returns:
- Direct known subtypes of this type.
getReference
TypeInfoReference getReference()
- Returns reference to this type info. The reference can be used
to keep a soft reference to a type, i.e. the type itself remains
eligible for garbage collection.
getTypeId
int getTypeId()
- Returns:
- Type primary key in the database.
getDeclaredTypes
java.util.Map<java.lang.String,TypeInfo> getDeclaredTypes()
- Returns:
- Nested types
Copyright © 2008 Hammurapi Group. All Rights Reserved.