is Field Final - Android java.lang.reflect

Android examples for java.lang.reflect:Field

Description

is Field Final

Demo Code


//package com.java2s;
import java.lang.reflect.Field;

import java.lang.reflect.Modifier;

public class Main {
    public static boolean isFinal(Field field) {
        return Modifier.isFinal(field.getModifiers());
    }/*  w ww .  j ava  2s. c om*/
}

Related Tutorials