EvaluationContext context,FileUnitInfo fuinfo,
Collection<Exception> errors) throws CompilerException {
Collection<TypeName> vars = StdJavaExpressions.createParameters(fuinfo,mdecl.parameters);
final TypeName retType = fuinfo.getFullQualified(mdecl.returnType);
final FieldAttrs fieldAttrs = mdecl.fieldAttrs;
Scope scope =
fieldAttrs.visibility == Visibility.PUBLIC ? Scope.PUBLIC :
fieldAttrs.visibility == Visibility.PROTECTED ? Scope.PROTECTED :
fieldAttrs.visibility == Visibility.PRIVATE ? Scope.PRIVATE :
Scope.PROTECTED ;
MethodDef mdef = new MethodDef(scope,retType,mdecl.name,vars) ;