1 9 package com.vladium.jcd.cls; 10 11 import com.vladium.jcd.cls.attribute.*; 12 import com.vladium.jcd.compiler.IClassFormatOutput; 13 14 22 public 23 interface IAttributeCollection extends Cloneable , IClassFormatOutput 24 { 25 27 29 37 Attribute_info get (int offset); 38 39 boolean hasSynthetic (); 40 boolean hasBridge (); 41 InnerClassesAttribute_info getInnerClassesAttribute (); 42 43 46 int size (); 47 48 52 long length (); 53 54 Object clone (); 56 57 void accept (IClassDefVisitor visitor, Object ctx); 59 60 61 63 71 int add (Attribute_info attribute); 72 73 85 Attribute_info set (int offset, Attribute_info attribute); 86 87 95 Attribute_info remove (int offset); 96 97 } | Popular Tags |