Inheritance: NClass.Core.Field
Ejemplo n.º 1
0
        protected override Field Clone(CompositeType newParent)
        {
            JavaField field = new JavaField(newParent);

            field.CopyFrom(this);
            return(field);
        }
Ejemplo n.º 2
0
        /// <exception cref="BadSyntaxException">
        /// The <paramref name="name"/> does not fit to the syntax.
        /// </exception>
        public override Field AddField()
        {
            Field field = new JavaField(this);

            field.AccessModifier = AccessModifier.Private;
            AddField(field);

            return(field);
        }
Ejemplo n.º 3
0
        public override Field AddField()
        {
            JavaField field = new JavaField(this);

            field.IsStatic   = true;
            field.IsReadonly = true;
            AddField(field);

            return(field);
        }
Ejemplo n.º 4
0
		/// <exception cref="BadSyntaxException">
		/// The <paramref name="name"/> does not fit to the syntax.
		/// </exception>
		public override Field AddField()
		{
			Field field = new JavaField(this);

			field.AccessModifier = AccessModifier.Private;
			AddField(field);

			return field;
		}
Ejemplo n.º 5
0
		protected override Field Clone(CompositeType newParent)
		{
			JavaField field = new JavaField(newParent);
			field.CopyFrom(this);
			return field;
		}
Ejemplo n.º 6
0
		public override Field AddField()
		{
			JavaField field = new JavaField(this);

			field.IsStatic = true;
			field.IsReadonly = true;
			AddField(field);

			return field;
		}