Main.java Source code

Java tutorial

Introduction

Here is the source code for Main.java

Source

//package com.java2s;

import java.lang.reflect.Field;
import java.lang.reflect.Modifier;

public class Main {

    public static boolean fieldCanBeModify(Field field) {
        return field != null && ((field.getModifiers() & Modifier.FINAL) == 0);
    }
}