PageRenderTime 27ms CodeModel.GetById 1ms RepoModel.GetById 0ms 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
Possible License(s): BSD-3-Clause, AGPL-1.0, Apache-2.0, LGPL-2.0, LGPL-3.0, GPL-2.0, CC-BY-SA-3.0, LGPL-2.1, GPL-3.0, MPL-2.0-no-copyleft-exception, IPL-1.0
  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. */
  20. package org.jedit.ruby.ri;
  21. import java.util.List;
  22. /**
  23. * @author robmckinnon at users.sourceforge.net
  24. */
  25. public final class MethodDescription extends Description {
  26. private List<String> aliases;
  27. private String blockParameters;
  28. private String parameters;
  29. private String visibility;
  30. private String aliasFor;
  31. private boolean isClassMethod;
  32. private boolean isSingleton;
  33. public final List getAliases() {
  34. return aliases;
  35. }
  36. public final void setAliases(List<String> aliases) {
  37. this.aliases = aliases;
  38. }
  39. public final String getBlockParameters() {
  40. return blockParameters;
  41. }
  42. public final void setBlockParameters(String blockParameters) {
  43. this.blockParameters = blockParameters;
  44. }
  45. public final String getParameters() {
  46. return parameters;
  47. }
  48. public final void setParameters(String parameters) {
  49. this.parameters = parameters;
  50. }
  51. public final String getVisibility() {
  52. return visibility;
  53. }
  54. public final void setVisibility(String visibility) {
  55. this.visibility = visibility;
  56. }
  57. public final String getAliasFor() {
  58. return aliasFor;
  59. }
  60. public final void setAliasFor(String aliasFor) {
  61. this.aliasFor = aliasFor;
  62. }
  63. public final boolean getIsClassMethod() {
  64. return isClassMethod;
  65. }
  66. public final boolean isClassMethod() {
  67. return isClassMethod;
  68. }
  69. public final void setIsClassMethod(boolean classMethod) {
  70. isClassMethod = classMethod;
  71. }
  72. public final boolean getIsSingleton() {
  73. return isSingleton;
  74. }
  75. public final boolean isSingleton() {
  76. return isSingleton;
  77. }
  78. public final void setIsSingleton(boolean singleton) {
  79. isSingleton = singleton;
  80. }
  81. }