1 11 package org.eclipse.jdt.internal.core.util; 12 13 import org.eclipse.jdt.core.util.ClassFormatException; 14 import org.eclipse.jdt.core.util.IAnnotationComponentValue; 15 import org.eclipse.jdt.core.util.IAnnotationDefaultAttribute; 16 import org.eclipse.jdt.core.util.IConstantPool; 17 18 23 public class AnnotationDefaultAttribute extends ClassFileAttribute 24 implements 25 IAnnotationDefaultAttribute { 26 27 private IAnnotationComponentValue memberValue; 28 29 36 public AnnotationDefaultAttribute( 37 byte[] classFileBytes, 38 IConstantPool constantPool, 39 int offset) 40 throws ClassFormatException { 41 super(classFileBytes, constantPool, offset); 42 this.memberValue = new AnnotationComponentValue(classFileBytes, constantPool, offset + 6); 43 } 44 45 48 public IAnnotationComponentValue getMemberValue() { 49 return this.memberValue; 50 } 51 } 52 | Popular Tags |