From 568d71b238472311e13fbfd72428155acd458d41 Mon Sep 17 00:00:00 2001 From: aclement Date: Thu, 17 Jan 2008 00:07:56 +0000 Subject: [PATCH] AspectJ6: picking up compiler interface changes --- .../CompactTypeStructureRepresentation.java | 21 ++++++++++++------- 1 file changed, 13 insertions(+), 8 deletions(-) diff --git a/org.aspectj.ajdt.core/src/org/aspectj/ajdt/internal/core/builder/CompactTypeStructureRepresentation.java b/org.aspectj.ajdt.core/src/org/aspectj/ajdt/internal/core/builder/CompactTypeStructureRepresentation.java index d6f786411..dcbcd0ef8 100644 --- a/org.aspectj.ajdt.core/src/org/aspectj/ajdt/internal/core/builder/CompactTypeStructureRepresentation.java +++ b/org.aspectj.ajdt.core/src/org/aspectj/ajdt/internal/core/builder/CompactTypeStructureRepresentation.java @@ -13,6 +13,7 @@ package org.aspectj.ajdt.internal.core.builder; import org.aspectj.org.eclipse.jdt.core.compiler.CharOperation; import org.aspectj.org.eclipse.jdt.internal.compiler.classfmt.ClassFileReader; +import org.aspectj.org.eclipse.jdt.internal.compiler.env.IBinaryAnnotation; import org.aspectj.org.eclipse.jdt.internal.compiler.env.IBinaryField; import org.aspectj.org.eclipse.jdt.internal.compiler.env.IBinaryMethod; import org.aspectj.org.eclipse.jdt.internal.compiler.env.IBinaryNestedType; @@ -44,12 +45,13 @@ public class CompactTypeStructureRepresentation implements IBinaryType { boolean isLocal, isAnonymous, isMember; char[] sourceFileName; char[] fileName; - int kind; + char[] sourceName; long tagBits; boolean isBinaryType; IBinaryField[] binFields; IBinaryMethod[] binMethods; IBinaryNestedType[] memberTypes; + IBinaryAnnotation[] annotations; public CompactTypeStructureRepresentation(ClassFileReader cfr) { @@ -59,14 +61,13 @@ public class CompactTypeStructureRepresentation implements IBinaryType { this.isMember = cfr.isMember(); this.sourceFileName = cfr.sourceFileName(); this.fileName = cfr.getFileName(); - this.kind = cfr.getKind(); this.tagBits = cfr.getTagBits(); this.isBinaryType = cfr.isBinaryType(); this.binFields = cfr.getFields(); if (binFields==null) binFields = NoField; this.binMethods = cfr.getMethods();if (binMethods==null) binMethods = NoMethod; this.memberTypes = cfr.getMemberTypes(); - - + this.annotations = cfr.getAnnotations(); + this.sourceName = cfr.getSourceName(); this.className = cfr.getName(); // slashes... this.modifiers = cfr.getModifiers(); this.genericSignature = cfr.getGenericSignature(); @@ -113,10 +114,6 @@ public class CompactTypeStructureRepresentation implements IBinaryType { public char[] getSuperclassName() { return superclassName; } - - public int getKind() { - return kind; - } public char[] getFileName() { return fileName; @@ -146,5 +143,13 @@ public class CompactTypeStructureRepresentation implements IBinaryType { return memberTypes; } + public IBinaryAnnotation[] getAnnotations() { + return annotations; + } + + public char[] getSourceName() { + return sourceName; + } + } \ No newline at end of file -- 2.39.5