~ubuntu-branches/ubuntu/feisty/monodevelop/feisty

« back to all changes in this revision

Viewing changes to Extras/JavaBinding/Parser/SharpDevelopTree/Method.cs

  • Committer: Bazaar Package Importer
  • Author(s): Sebastian Dröge
  • Date: 2006-08-18 00:51:23 UTC
  • mfrom: (1.1.3 upstream)
  • Revision ID: james.westby@ubuntu.com-20060818005123-5iit07y0j7wjg55f
Tags: 0.11+svn20060818-0ubuntu1
* New SVN snapshot
  + Works with Gtk# 2.9.0
* debian/control:
  + Updated Build-Depends
* debian/patches/use_nunit2.2.dpatch,
  debian/patches/use_real_libs.dpatch:
  + Updated
* debian/patches/versioncontrol_buildfix.dpatch:
  + Fix build failure in the version control addin

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
// created on 06.08.2003 at 12:35
 
2
using System;
 
3
using MonoDevelop.Projects.Parser;
 
4
using JRefactory.Parser;
 
5
 
 
6
namespace JavaBinding.Parser.SharpDevelopTree
 
7
{
 
8
        public class Method : AbstractMethod
 
9
        {
 
10
                public void AddModifier(ModifierEnum m)
 
11
                {
 
12
                        modifiers = modifiers | m;
 
13
                }
 
14
                
 
15
                public Method(string name, ReturnType type, Modifier m, IRegion region, IRegion bodyRegion)
 
16
                {
 
17
                        FullyQualifiedName = name;
 
18
                        returnType = type;
 
19
                        this.region     = region;
 
20
                        this.bodyRegion = bodyRegion;
 
21
                        modifiers = (ModifierEnum)m;
 
22
                }
 
23
        }
 
24
}