List of usage examples for org.springframework.ide.eclipse.core.java Introspector getAllMethods
public static Set<IMethod> getAllMethods(IType type) throws JavaModelException
From source file:org.dozer.eclipse.plugin.sourcepage.hyperlink.DozerClassHyperlinkDetector.java
/** * Get First Method by name/*from www . j a v a 2 s . c o m*/ * * @param type * @param methodName * @return */ private IMethod getMethodFromType(IType type, String methodName) { try { Set<IMethod> methods = Introspector.getAllMethods(type); for (IMethod method : methods) { if (method.getElementName().equals(methodName)) { return method; } } } catch (Exception e) { } return null; }