Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.java.programmer > #31688

Re: how does a marker interface give specific instruction to jvm(java internals)

From Jeff Higgins <jeff@invalid.invalid>
Newsgroups comp.lang.java.programmer
Subject Re: how does a marker interface give specific instruction to jvm(java internals)
Date 2015-05-12 21:34 -0400
Organization A noiseless patient Spider
Message-ID <miu9p0$smm$1@dont-email.me> (permalink)
References <fb878f12-cf37-4889-9e38-91ed3a590af6@googlegroups.com> <5b49c798-5b11-4b08-8d87-a241d9a3cfc0@googlegroups.com> <annotation-20150512185442@ram.dialup.fu-berlin.de>

Show all headers | View raw


On 05/12/2015 12:55 PM, Stefan Ram wrote:
> Ajay Paul <ajaykpaul@gmail.com> writes:
>> Am I correct ?
>
>    A marker interface is used like an annotation.
>
I'm guessing your use of annotation is the common English usage.

Otherwise how do I use the following to indicate to the Java compiler
that a particular method is deprecated?

package example;
public interface Deprecated {}

Back to comp.lang.java.programmer | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread


Thread

how does a marker interface give specific instruction to jvm(java internals) Ajay Paul <ajaykpaul@gmail.com> - 2015-05-10 03:08 -0700
  Re: how does a marker interface give specific instruction to jvm(java internals) Jeff Higgins <jeff@invalid.invalid> - 2015-05-10 07:41 -0400
  Re: how does a marker interface give specific instruction to jvm(java internals) Joerg Meier <joergmmeier@arcor.de> - 2015-05-10 14:00 +0200
    Re: how does a marker interface give specific instruction to jvm(java internals) Arne Vajhøj <arne@vajhoej.dk> - 2015-06-03 21:49 -0400
  Re: how does a marker interface give specific instruction to jvm(java internals) Ajay Paul <ajaykpaul@gmail.com> - 2015-05-12 08:54 -0700
    Re: how does a marker interface give specific instruction to jvm(java internals) Robert Klemme <shortcutter@googlemail.com> - 2015-05-12 18:53 +0200
    Re: how does a marker interface give specific instruction to jvm(java internals) Jeff Higgins <jeff@invalid.invalid> - 2015-05-12 19:07 -0400
      Re: how does a marker interface give specific instruction to jvm(java   internals) Robert Klemme <shortcutter@googlemail.com> - 2015-05-14 00:14 +0200
    Re: how does a marker interface give specific instruction to jvm(java internals) Jeff Higgins <jeff@invalid.invalid> - 2015-05-12 21:34 -0400
      Re: how does a marker interface give specific instruction to jvm(java internals) Arne Vajhøj <arne@vajhoej.dk> - 2015-06-03 21:27 -0400
    Re: how does a marker interface give specific instruction to jvm(java internals) Jeff Higgins <jeff@invalid.invalid> - 2015-05-13 22:33 -0400
      Re: how does a marker interface give specific instruction to jvm(java internals) Jeff Higgins <jeff@invalid.invalid> - 2015-05-13 22:49 -0400

csiph-web