Package org.openl.dependency
Class DependencyOpenClass
- java.lang.Object
-
- org.openl.types.OpenClassDelegator
-
- org.openl.dependency.DependencyOpenClass
-
- All Implemented Interfaces:
INamedThing
,IMethodFactory
,IOpenLibrary
,IVarFactory
,IType
,IMetaHolder
,IOpenClass
public class DependencyOpenClass extends OpenClassDelegator
-
-
Field Summary
Fields Modifier and Type Field Description static DependencyWrapperLogicToMethod
dependencyWrapperLogicToMethod
-
Fields inherited from interface org.openl.base.INamedThing
LONG, REGULAR, SHORT
-
Fields inherited from interface org.openl.types.IOpenClass
EMPTY
-
-
Constructor Summary
Constructors Constructor Description DependencyOpenClass(String dependencyName, IOpenClass delegate)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description IOpenClass
findType(String name)
IOpenMethod
getMethod(String name, IOpenClass[] classes)
Collection<IOpenMethod>
getMethods()
String
getName()
Collection<IOpenClass>
getTypes()
Return the whole map of internal types.-
Methods inherited from class org.openl.types.OpenClassDelegator
addType, constructors, getAggregateInfo, getArrayType, getComponentClass, getConstructor, getDeclaredFields, getDeclaredMethods, getDelegate, getDisplayName, getDomain, getField, getField, getFields, getIndexField, getInstanceClass, getJavaName, getMetaInfo, getPackageName, getStaticField, getStaticField, getStaticFields, getVar, isAbstract, isArray, isAssignableFrom, isAssignableFrom, isInstance, isInterface, isSimple, isStatic, methods, newInstance, nullObject, setMetaInfo, superClasses, toStaticClass
-
-
-
-
Field Detail
-
dependencyWrapperLogicToMethod
public static DependencyWrapperLogicToMethod dependencyWrapperLogicToMethod
-
-
Constructor Detail
-
DependencyOpenClass
public DependencyOpenClass(String dependencyName, IOpenClass delegate)
-
-
Method Detail
-
getName
public String getName()
- Specified by:
getName
in interfaceINamedThing
- Overrides:
getName
in classOpenClassDelegator
-
getTypes
public Collection<IOpenClass> getTypes()
Description copied from interface:IOpenClass
Return the whole map of internal types. Where the key is namespace of the type, the value isIOpenClass
.- Specified by:
getTypes
in interfaceIOpenClass
- Overrides:
getTypes
in classOpenClassDelegator
- Returns:
- map of internal types
-
findType
public IOpenClass findType(String name)
- Specified by:
findType
in interfaceIOpenClass
- Overrides:
findType
in classOpenClassDelegator
-
getMethod
public IOpenMethod getMethod(String name, IOpenClass[] classes)
- Specified by:
getMethod
in interfaceIMethodFactory
- Specified by:
getMethod
in interfaceIOpenClass
- Overrides:
getMethod
in classOpenClassDelegator
-
getMethods
public Collection<IOpenMethod> getMethods()
- Specified by:
getMethods
in interfaceIOpenClass
- Overrides:
getMethods
in classOpenClassDelegator
-
-