Class MoreTypes.MemberImpl
java.lang.Object
org.elasticsearch.common.inject.internal.MoreTypes.MemberImpl
- All Implemented Interfaces:
Member
- Enclosing class:
- MoreTypes
We cannot serialize the built-in Java member classes, which prevents us from using Members in
our exception types. We workaround this with this serializable implementation. It includes all
of the API methods, plus everything we use for line numbers and messaging.
-
Method Details
-
getDeclaringClass
- Specified by:
getDeclaringClassin interfaceMember
-
getName
-
getModifiers
public int getModifiers()- Specified by:
getModifiersin interfaceMember
-
isSynthetic
public boolean isSynthetic()- Specified by:
isSyntheticin interfaceMember
-
toString
-