MCPcopy Create free account
hub / github.com/apache/groovy / getModifiers

Method getModifiers

src/main/java/org/codehaus/groovy/ast/ClassNode.java:509–511  ·  view source on GitHub ↗

Returns the modifier flags for this ClassNode, combining visibility and behavioral modifiers. The flags are represented as a bitmask using ASM/bytecode conventions (e.g., ACC_PUBLIC, ACC_ABSTRACT, ACC_INTERFACE, ACC_ENUM). This method follows redirects if pres

()

Source from the content-addressed store, hash-verified

507 * @see #isEnum()
508 */
509 public int getModifiers() {
510 return redirect().modifiers;
511 }
512
513 /**
514 * Sets the modifier flags for this {@link ClassNode}.

Callers 15

testArrayClassMethod · 0.95
passThisReferenceMethod · 0.95
addThisReferenceMethod · 0.95
writeDirectMethodCallMethod · 0.95
isAbstractMethod · 0.95
isInterfaceMethod · 0.95
isEnumMethod · 0.95
transformMethodCallMethod · 0.95

Calls 1

redirectMethod · 0.95

Tested by 1

testArrayClassMethod · 0.76