List of usage examples for java.lang.reflect Member isSynthetic
public boolean isSynthetic();
From source file:EnumSpy.java
private static String synthetic(Member m) { return (m.isSynthetic() ? "[ synthetic ]" : ""); }
From source file:ModifierUtil.java
public static boolean isSynthetic(Member member) { return member.isSynthetic(); }
From source file:com.clark.func.Functions.java
/** * Check a Member for basic accessibility. * /* w w w . j ava2 s .c o m*/ * @param m * Member to check * @return true if <code>m</code> is accessible */ static boolean isAccessible(Member m) { return m != null && Modifier.isPublic(m.getModifiers()) && !m.isSynthetic(); }
From source file:org.pircbotx.TestUtils.java
public static boolean isRealMember(Member member) { return !member.isSynthetic() && !member.getName().startsWith("__"); }
From source file:org.robobinding.util.MemberUtils.java
/** * Returns whether a Member is accessible. * //w w w . j a v a2 s .c o m * @param m * Member to check * @return true if <code>m</code> is accessible */ static boolean isAccessible(final Member m) { return m != null && Modifier.isPublic(m.getModifiers()) && !m.isSynthetic(); }