enum InvokedMethodListenerSubtype extends java.lang.Enum<InvokedMethodListenerSubtype>
InvokedMethodListenerMethod
is to be called on a simple or an
extended invoked method listener. All IInvokedMethodListener
s are considered
SIMPLE_LISTENER
, instances of IInvokedMethodListener2
are all considered
EXTENDED_LISTENER
.Enum Constant and Description |
---|
EXTENDED_LISTENER |
SIMPLE_LISTENER |
Modifier and Type | Field and Description |
---|---|
private java.lang.Class<? extends IInvokedMethodListener> |
m_matchingInterface |
Modifier and Type | Method and Description |
---|---|
static InvokedMethodListenerSubtype |
fromListener(IInvokedMethodListener listenerInstance) |
private boolean |
isInstance(IInvokedMethodListener listenerInstance) |
static InvokedMethodListenerSubtype |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static InvokedMethodListenerSubtype[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final InvokedMethodListenerSubtype EXTENDED_LISTENER
public static final InvokedMethodListenerSubtype SIMPLE_LISTENER
private java.lang.Class<? extends IInvokedMethodListener> m_matchingInterface
public static InvokedMethodListenerSubtype[] values()
for (InvokedMethodListenerSubtype c : InvokedMethodListenerSubtype.values()) System.out.println(c);
public static InvokedMethodListenerSubtype valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is nullprivate boolean isInstance(IInvokedMethodListener listenerInstance)
public static InvokedMethodListenerSubtype fromListener(IInvokedMethodListener listenerInstance)