public static enum HasJsInfo.JsMemberType extends Enum<HasJsInfo.JsMemberType>
Enum Constant and Description |
---|
CONSTRUCTOR
A JsConstructor.
|
GETTER
A getter JsProperty accessor.
|
METHOD
A JsMethod.
|
NONE
Not a js member.
|
PROPERTY
A JsProperty.
|
SETTER
A setter JsProperty accessor.
|
UNDEFINED_ACCESSOR
A property accessor but doesn't match setter/getter patterns.
|
Modifier and Type | Method and Description |
---|---|
String |
computeName(JMember member) |
String |
getPropertyAccessorKey() |
boolean |
isPropertyAccessor() |
static HasJsInfo.JsMemberType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static HasJsInfo.JsMemberType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
compareTo, createValueOfMap, equals, getDeclaringClass, hashCode, name, ordinal, toString, valueOf, valueOf
$isInstance
public static final HasJsInfo.JsMemberType NONE
public static final HasJsInfo.JsMemberType CONSTRUCTOR
public static final HasJsInfo.JsMemberType METHOD
public static final HasJsInfo.JsMemberType PROPERTY
public static final HasJsInfo.JsMemberType GETTER
public static final HasJsInfo.JsMemberType SETTER
public static final HasJsInfo.JsMemberType UNDEFINED_ACCESSOR
public static HasJsInfo.JsMemberType[] values()
for (HasJsInfo.JsMemberType c : HasJsInfo.JsMemberType.values()) System.out.println(c);
public static HasJsInfo.JsMemberType valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullpublic String getPropertyAccessorKey()
public boolean isPropertyAccessor()
Copyright © 2018. All rights reserved.