Method isPrivate(int mod)
Return type: boolean
Member of:
java.lang.reflect.Modifier
[
api documentation
] [
main menu
]
Examples of how the element is used
(one line per example):
[
add your own example
]
1
if (Modifier.isPrivate(mods) && !keepPrivate()) {
2
if (Modifier.isPrivate(modif))
3
if (Modifier.isPrivate(f.getModifiers()) ||
4
if (Modifier.isPrivate(methMod)) {
5
if(Modifier.isPrivate(modifiers))
6
Modifier.isPrivate(liMod) ||
7
if( Modifier.isPrivate( m ) && ( Modifier.isTransient( m ) || Modifier.isStatic( m ) ) )
Java and J2SE are trademarks or registered trademarks of Sun Microsystems, Inc. in the United States and other Countries.