Example
public
boolean
isInterface(
SourceType
o ) {
if
( o
instanceof
SourceType
){
try
{
ISourceType
type = (
ISourceType
)o.getElementInfo();
if
( type.isInterface() ){
return
true
;
}
}
catch
(
Exception
e){
e.printStackTrace();
}
}
return
false
;
}
Solution
To find out an alternative to use please consult Help, Eclipse discussion boards, or contact the team that provided the code for suggestions.