MCPcopy Create free account
hub / github.com/GraxCode/zelixkiller / isSynthetic

Method isSynthetic

src/me/lpk/util/AccessHelper.java:96–98  ·  view source on GitHub ↗

Tells whether a given access modifier is synthetic. A modifier is synthetic if it is marked with the ACC_SYNTHETIC flag (0x1000), as specified in JLS8, 4.6 Methods . @param mod The access modifier to check @return True if the access modifier is synthetic, false otherwise

(int mod)

Source from the content-addressed store, hash-verified

94 * @return True if the access modifier is synthetic, false otherwise
95 */
96 public static boolean isSynthetic(int mod) {
97 return (mod & ACC_SYNTHETIC) != 0;
98 }
99
100 /**
101 * Tells whether a given access modifier is volatile

Callers 1

linkMappingsMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected