예제 #1
0
		/// <exception cref="BadSyntaxException">
		/// The <paramref name="name"/> does not fit to the syntax.
		/// </exception>
		public override Method AddMethod()
		{
			Method method = new JavaMethod(this);

			method.AccessModifier = AccessModifier.Public;
			AddOperation(method);

			return method;
		}
예제 #2
0
		public override Method AddMethod()
		{
			Method method = new JavaMethod(this);

			AddOperation(method);
			return method;
		}
예제 #3
0
		public override Operation Clone(CompositeType newParent)
		{
			JavaMethod method = new JavaMethod(newParent);
			method.CopyFrom(this);
			return method;
		}