Interface ASTMemberValue

    • Method Detail

      • getConstValue

        default @Nullable Object getConstValue()
        Returns the constant value of this node, if this is a constant expression. Otherwise, or if some references couldn't be resolved, returns null. Note that null is not a constant value, so this method's returning null is not a problem. Note that annotations are not given a constant value by this implementation.