public List<String> getMethodNames() { List<String> methodList = new ArrayList<String>(); for ( MethodInfo info : methods ) { methodList.add( info.getName() ); } return methodList; }
public List<String> getMethodNames() { List<String> methodList = new ArrayList<String>(); for ( MethodInfo info : methods ) { methodList.add( info.getName() ); } return methodList; }
public List<String> getMethodNames(String factName) { List<MethodInfo> infos = methodInfos.get( factName ); List<String> methodList = new ArrayList<String>(); if ( infos != null ) { for ( MethodInfo info : infos ) { methodList.add( info.getName() ); } } return methodList; }
public List<String> getMethodNames(String factName) { List<MethodInfo> infos = methodInfos.get( factName ); List<String> methodList = new ArrayList<String>(); if ( infos != null ) { for ( MethodInfo info : infos ) { methodList.add( info.getName() ); } } return methodList; }
public static ExpressionPart getExpressionPartForMethod(SuggestionCompletionEngine sce, String factName, String methodName) { MethodInfo mi = sce.getMethodinfo(factName, methodName); if (SuggestionCompletionEngine.TYPE_COLLECTION.equals(mi.getGenericType())) { return new ExpressionCollection(methodName, mi.getReturnClassType(), mi.getGenericType(), mi.getParametricReturnType()); } return new ExpressionMethod(mi.getName(), mi.getReturnClassType(), mi.getGenericType()); }
public static ExpressionPart getExpressionPartForMethod(SuggestionCompletionEngine sce, String factName, String methodName) { MethodInfo mi = sce.getMethodinfo(factName, methodName); if (SuggestionCompletionEngine.TYPE_COLLECTION.equals(mi.getGenericType())) { return new ExpressionCollection(methodName, mi.getReturnClassType(), mi.getGenericType(), mi.getParametricReturnType()); } return new ExpressionMethod(mi.getName(), mi.getReturnClassType(), mi.getGenericType()); }