com.togethersoft.sca.dataflow
Interface IBehavior
- All Superinterfaces:
- INamedUnit, INamespaceUnit
- All Known Subinterfaces:
- IClass, IInterface
- public interface IBehavior
- extends INamespaceUnit
defines methods common for interfaces and classes
| Fields inherited from interface com.togethersoft.sca.dataflow.INamedUnit |
DEFAULT_ACCESS, KIND_CLASS, KIND_FIELD, KIND_INTERFACE, KIND_METHOD, KIND_PACKAGE, KIND_PROJECT, KINDS_NUMBER, MODIFIER_ABSTRACT, MODIFIER_FINAL, MODIFIER_NATIVE, MODIFIER_STATIC, MODIFIER_STRICTFP, MODIFIER_SYNCHRONIZED, MODIFIER_TRANSIENT, MODIFIER_VOLATILE, PRIVATE_ACCESS, PROTECTED_ACCESS, PUBLIC_ACCESS |
|
Method Summary |
IField |
findField(java.lang.String name)
find the field with the specified name. |
IMethod[] |
findMethod(java.lang.String name)
find all methods with a given name |
IInterface[] |
getSuperinterfaces()
Returns the interfaces that this type implements or extends,
in the order in which they are listed in the source. |
| Methods inherited from interface com.togethersoft.sca.dataflow.INamedUnit |
accessType, getAstObject, isAbstract, isFinal, isNative, isStatic, isStrictfp, isSynchronized, isTransient, isVolatile, modifiers, name, remove, scope, unitKind |
findField
public IField findField(java.lang.String name)
- find the field with the specified name.
findField also searches in the inherited fields.
- Parameters:
name - specifies name of the field.- Returns:
- field with the specified name or
null, if the field with the specified name
does not exist.
findMethod
public IMethod[] findMethod(java.lang.String name)
- find all methods with a given name
getSuperinterfaces
public IInterface[] getSuperinterfaces()
- Returns the interfaces that this type implements or extends,
in the order in which they are listed in the source.
For classes, this gives the interfaces that this class implements.
For interfaces, this gives the interfaces that this interface extends.
A
null is returned if this type does not implement or
extend any interfaces.