MCPcopy Index your code
hub / github.com/clojure/clojure / getAttributePrototypes

Method getAttributePrototypes

src/jvm/clojure/asm/ClassWriter.java:702–716  ·  view source on GitHub ↗

Returns the prototypes of the attributes used by this class, its fields and its methods. @return the prototypes of the attributes used by this class, its fields and its methods.

()

Source from the content-addressed store, hash-verified

700 * @return the prototypes of the attributes used by this class, its fields and its methods.
701 */
702 private Attribute[] getAttributePrototypes() {
703 Attribute.Set attributePrototypes = new Attribute.Set();
704 attributePrototypes.addAttributes(firstAttribute);
705 FieldWriter fieldWriter = firstField;
706 while (fieldWriter != null) {
707 fieldWriter.collectAttributePrototypes(attributePrototypes);
708 fieldWriter = (FieldWriter) fieldWriter.fv;
709 }
710 MethodWriter methodWriter = firstMethod;
711 while (methodWriter != null) {
712 methodWriter.collectAttributePrototypes(attributePrototypes);
713 methodWriter = (MethodWriter) methodWriter.mv;
714 }
715 return attributePrototypes.toArray();
716 }
717
718 // -----------------------------------------------------------------------------------------------
719 // Utility methods: constant pool management for Attribute sub classes

Callers 1

Calls 4

addAttributesMethod · 0.95
toArrayMethod · 0.95

Tested by

no test coverage detected