PageRenderTime 151ms CodeModel.GetById 146ms app.highlight 3ms RepoModel.GetById 1ms app.codeStats 0ms

/bundles/plugins-trunk/RubyPlugin/src/org/jedit/ruby/ri/MethodDescription.java

#
Java | 101 lines | 59 code | 20 blank | 22 comment | 0 complexity | b4b3731d9c3670aa1e00683561f8bcc6 MD5 | raw file
  1/*
  2 * MethodDescription.java -
  3 *
  4 * Copyright 2005 Robert McKinnon
  5 *
  6 * This program is free software; you can redistribute it and/or
  7 * modify it under the terms of the GNU General Public License
  8 * as published by the Free Software Foundation; either version 2
  9 * of the License, or any later version.
 10 *
 11 * This program is distributed in the hope that it will be useful,
 12 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 13 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 14 * GNU General Public License for more details.
 15 *
 16 * You should have received a copy of the GNU General Public License
 17 * along with this program; if not, write to the Free Software
 18 * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA  02111-1307, USA.
 19 */
 20package org.jedit.ruby.ri;
 21
 22import java.util.List;
 23
 24
 25/**
 26 * @author robmckinnon at users.sourceforge.net
 27 */
 28public final class MethodDescription extends Description {
 29
 30    private List<String> aliases;
 31    private String blockParameters;
 32    private String parameters;
 33    private String visibility;
 34    private String aliasFor;
 35    private boolean isClassMethod;
 36    private boolean isSingleton;
 37
 38    public final List getAliases() {
 39        return aliases;
 40    }
 41
 42    public final void setAliases(List<String> aliases) {
 43        this.aliases = aliases;
 44    }
 45
 46    public final String getBlockParameters() {
 47        return blockParameters;
 48    }
 49
 50    public final void setBlockParameters(String blockParameters) {
 51        this.blockParameters = blockParameters;
 52    }
 53
 54    public final String getParameters() {
 55        return parameters;
 56    }
 57
 58    public final void setParameters(String parameters) {
 59        this.parameters = parameters;
 60    }
 61
 62    public final String getVisibility() {
 63        return visibility;
 64    }
 65
 66    public final void setVisibility(String visibility) {
 67        this.visibility = visibility;
 68    }
 69
 70    public final String getAliasFor() {
 71        return aliasFor;
 72    }
 73
 74    public final void setAliasFor(String aliasFor) {
 75        this.aliasFor = aliasFor;
 76    }
 77
 78    public final boolean getIsClassMethod() {
 79        return isClassMethod;
 80    }
 81
 82    public final boolean isClassMethod() {
 83        return isClassMethod;
 84    }
 85
 86    public final void setIsClassMethod(boolean classMethod) {
 87        isClassMethod = classMethod;
 88    }
 89
 90    public final boolean getIsSingleton() {
 91        return isSingleton;
 92    }
 93
 94    public final boolean isSingleton() {
 95        return isSingleton;
 96    }
 97
 98    public final void setIsSingleton(boolean singleton) {
 99        isSingleton = singleton;
100    }
101}