Class MoreTypes.MemberImpl

  • All Implemented Interfaces:
    Enclosing class:

    public static class MoreTypes.MemberImpl
    extends java.lang.Object
    implements java.lang.reflect.Member
    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.
    • Field Summary

      • Fields inherited from interface java.lang.reflect.Member

    • Method Summary

      Modifier and Type Method Description
      java.lang.Class getDeclaringClass()  
      int getModifiers()  
      java.lang.String getName()  
      boolean isSynthetic()  
      java.lang.String toString()  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
    • Method Detail

      • getDeclaringClass

        public java.lang.Class getDeclaringClass()
        Specified by:
        getDeclaringClass in interface java.lang.reflect.Member
      • getName

        public java.lang.String getName()
        Specified by:
        getName in interface java.lang.reflect.Member
      • getModifiers

        public int getModifiers()
        Specified by:
        getModifiers in interface java.lang.reflect.Member
      • isSynthetic

        public boolean isSynthetic()
        Specified by:
        isSynthetic in interface java.lang.reflect.Member
      • toString

        public java.lang.String toString()
        toString in class java.lang.Object