Interface JavaMember

    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      JavaClass getDeclaringClass()
      Equivalent of Member.getDeclaringClass()
      java.util.List<java.lang.String> getModifiers()
      Equivalent of Member.getModifiers() This does not follow the java-api With the Member-class, getModifiers returns an int, which should be decoded with the Modifier.
      java.lang.String getName()
      Equivalent of Member.getName()
      boolean isAbstract()
      Equivalent of Modifier.isAbstract(int)
      boolean isFinal()
      Equivalent of Modifier.isFinal(int)
      boolean isNative()
      Equivalent of Modifier.isNative(int)
      boolean isPrivate()
      Equivalent of Modifier.isPrivate(int)
      boolean isProtected()
      Equivalent of Modifier.isProtected(int)
      boolean isPublic()
      Equivalent of Modifier.isPublic(int)
      boolean isStatic()
      Equivalent of Modifier.isStatic(int)
      boolean isStrictfp()
      Equivalent of Modifier.isStrict(int)
      boolean isSynchronized()
      Equivalent of Modifier.isSynchronized(int)
      boolean isTransient()
      Equivalent of Modifier.isTransient(int)
      boolean isVolatile()
      Equivalent of Modifier.isVolatile(int)
    • Method Detail

      • getModifiers

        java.util.List<java.lang.String> getModifiers()
        Equivalent of Member.getModifiers() This does not follow the java-api With the Member-class, getModifiers returns an int, which should be decoded with the Modifier. If this member was extracted from a source, it will keep its order. Otherwise if will be in the preferred order of the java-api.
        Returns:
        all modifiers is this member
      • getDeclaringClass

        JavaClass getDeclaringClass()
        Equivalent of Member.getDeclaringClass()
        Returns:
        the declaring class
      • getName

        java.lang.String getName()
        Equivalent of Member.getName()
        Returns:
        the name of this member
      • isAbstract

        boolean isAbstract()
        Equivalent of Modifier.isAbstract(int)
        Returns:
        true if this member is abstract, otherwise false
      • isFinal

        boolean isFinal()
        Equivalent of Modifier.isFinal(int)
        Returns:
        true is this member is final, otherwise false
      • isNative

        boolean isNative()
        Equivalent of Modifier.isNative(int)
        Returns:
        true if this member is native, otherwise false
      • isPrivate

        boolean isPrivate()
        Equivalent of Modifier.isPrivate(int)
        Returns:
        true if this member is private, otherwise false
      • isProtected

        boolean isProtected()
        Equivalent of Modifier.isProtected(int)
        Returns:
        true if this member is protected; otherwise false
      • isPublic

        boolean isPublic()
        Equivalent of Modifier.isPublic(int)
        Returns:
        true if this member is public, otherwise false
      • isStatic

        boolean isStatic()
        Equivalent of Modifier.isStatic(int)
        Returns:
        true if this member is static, otherwise false
      • isStrictfp

        boolean isStrictfp()
        Equivalent of Modifier.isStrict(int)
        Returns:
        true if this member is strictfp, otherwise false
      • isSynchronized

        boolean isSynchronized()
        Equivalent of Modifier.isSynchronized(int)
        Returns:
        true if this member is synchronized, otherwise false
      • isTransient

        boolean isTransient()
        Equivalent of Modifier.isTransient(int)
        Returns:
        true if this member is transient, otherwise false
      • isVolatile

        boolean isVolatile()
        Equivalent of Modifier.isVolatile(int)
        Returns:
        true if this member is volatile, otherwise false