Class MoreTypes.MemberImpl
org.elasticsearch.common.inject.internal.MoreTypes.MemberImpl
- All Implemented Interfaces:
- Enclosing class:
- MoreTypes
public static class MoreTypes.MemberImpl
extends
implements
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
public getDeclaringClass()- Specified by:
in interface
-
getName
public getName()- Specified by:
in interface
-
getModifiers
public int getModifiers()- Specified by:
in interface
-
isSynthetic
public boolean isSynthetic()- Specified by:
in interface
-
toString
public toString()- Overrides:
in class
-