Home | History | Annotate | Download | only in reflect

Lines Matching refs:mod

49      * @param   mod a set of modifiers
50 * @return {@code true} if {@code mod} includes the
53 public static boolean isPublic(int mod) {
54 return (mod & PUBLIC) != 0;
61 * @param mod a set of modifiers
62 * @return {@code true} if {@code mod} includes the
65 public static boolean isPrivate(int mod) {
66 return (mod & PRIVATE) != 0;
73 * @param mod a set of modifiers
74 * @return {@code true} if {@code mod} includes the
77 public static boolean isProtected(int mod) {
78 return (mod & PROTECTED) != 0;
85 * @param mod a set of modifiers
86 * @return {@code true} if {@code mod} includes the
89 public static boolean isStatic(int mod) {
90 return (mod & STATIC) != 0;
97 * @param mod a set of modifiers
98 * @return {@code true} if {@code mod} includes the
101 public static boolean isFinal(int mod) {
102 return (mod & FINAL) != 0;
109 * @param mod a set of modifiers
110 * @return {@code true} if {@code mod} includes the
113 public static boolean isSynchronized(int mod) {
114 return (mod & SYNCHRONIZED) != 0;
121 * @param mod a set of modifiers
122 * @return {@code true} if {@code mod} includes the
125 public static boolean isVolatile(int mod) {
126 return (mod & VOLATILE) != 0;
141 * @param mod a set of modifiers
142 * @return {@code true} if {@code mod} includes the
145 public static boolean isTransient(int mod) {
146 return (mod & TRANSIENT) != 0;
153 * @param mod a set of modifiers
154 * @return {@code true} if {@code mod} includes the
157 public static boolean isNative(int mod) {
158 return (mod & NATIVE) != 0;
165 * @param mod a set of modifiers
166 * @return {@code true} if {@code mod} includes the
169 public static boolean isInterface(int mod) {
170 return (mod & INTERFACE) != 0;
177 * @param mod a set of modifiers
178 * @return {@code true} if {@code mod} includes the
181 public static boolean isAbstract(int mod) {
182 return (mod & ABSTRACT) != 0;
189 * @param mod a set of modifiers
190 * @return {@code true} if {@code mod} includes the
193 public static boolean isStrict(int mod) {
194 return (mod & STRICT) != 0;
224 * @param mod a set of modifiers
226 * represented by {@code mod}
228 public static String toString(int mod) {
232 if ((mod & PUBLIC) != 0) sb.append("public ");
233 if ((mod & PROTECTED) != 0) sb.append("protected ");
234 if ((mod & PRIVATE) != 0) sb.append("private ");
237 if ((mod & ABSTRACT) != 0) sb.append("abstract ");
238 if ((mod & STATIC) != 0) sb.append("static ");
239 if ((mod & FINAL) != 0) sb.append("final ");
240 if ((mod & TRANSIENT) != 0) sb.append("transient ");
241 if ((mod & VOLATILE) != 0) sb.append("volatile ");
242 if ((mod & SYNCHRONIZED) != 0) sb.append("synchronized ");
243 if ((mod & NATIVE) != 0) sb.append("native ");
244 if ((mod & STRICT) != 0) sb.append("strictfp ");
245 if ((mod & INTERFACE) != 0) sb.append("interface ");
342 static boolean isSynthetic(int mod) {
343 return (mod & SYNTHETIC) != 0;
346 static boolean isMandated(int mod) {
347 return (mod & MANDATED) != 0;