is Field Static - Android java.lang.reflect

Android examples for java.lang.reflect:Field Static

Description

is Field Static

Demo Code


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

import java.lang.reflect.Modifier;

public class Main {
    public static boolean isStatic(Field field) {
        return Modifier.isStatic(field.getModifiers());
    }//  ww  w .j av a  2 s . c o m
}

Related Tutorials