Android examples for java.lang.reflect:Field Static
is a Static field
//package com.java2s; import java.lang.reflect.Field; import java.lang.reflect.Modifier; public class Main { /**//w w w. j av a2 s . co m * @return True if the {@link Field} is static. */ public final static boolean isStatic(Field field) { final int modifiers = field.getModifiers(); return (Modifier.isStatic(modifiers)); } }