issue_id
int64
2.04k
425k
title
stringlengths
9
251
body
stringlengths
4
32.8k
status
stringclasses
6 values
after_fix_sha
stringlengths
7
7
project_name
stringclasses
6 values
repo_url
stringclasses
6 values
repo_name
stringclasses
6 values
language
stringclasses
1 value
issue_url
null
before_fix_sha
null
pull_url
null
commit_datetime
timestamp[us, tz=UTC]
report_datetime
timestamp[us, tz=UTC]
updated_file
stringlengths
23
187
chunk_content
stringlengths
1
22k
314,130
Bug 314130 [plan] [ltw] [hcr] LTW, Reweaving and Hot Code Replace changes reflected every two saves of files
null
resolved fixed
cf0ee0c
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2010-05-26T22:31:02Z
2010-05-24T16:53:20Z
weaver/src/org/aspectj/weaver/tools/WeavingAdaptor.java
} public void setDelegate(IMessageHandler messageHandler) { delegate = messageHandler; } /* * IMessageHandler */ @Override public boolean handleMessage(IMessage message) throws AbortException { if (traceMessages) { traceMessage(message); } super.handleMessage(message); if (abortOnErro...
314,130
Bug 314130 [plan] [ltw] [hcr] LTW, Reweaving and Hot Code Replace changes reflected every two saves of files
null
resolved fixed
cf0ee0c
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2010-05-26T22:31:02Z
2010-05-24T16:53:20Z
weaver/src/org/aspectj/weaver/tools/WeavingAdaptor.java
} @Override public boolean isIgnoring(Kind kind) { return delegate.isIgnoring(kind); } @Override public void dontIgnore(IMessage.Kind kind) { if (null != kind && delegate != null) { delegate.dontIgnore(kind); } } @Override public void ignore(Kind kind) { if (null != kind && delegate != n...
314,130
Bug 314130 [plan] [ltw] [hcr] LTW, Reweaving and Hot Code Replace changes reflected every two saves of files
null
resolved fixed
cf0ee0c
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2010-05-26T22:31:02Z
2010-05-24T16:53:20Z
weaver/src/org/aspectj/weaver/tools/WeavingAdaptor.java
private final Set ignoring = new HashSet(); private final IMessage.Kind failKind; public WeavingAdaptorMessageWriter(PrintWriter writer) { super(writer, true); ignore(IMessage.WEAVEINFO); ignore(IMessage.DEBUG); ignore(IMessage.INFO); this.failKind = IMessage.ERROR; } @Override public boolean h...
314,130
Bug 314130 [plan] [ltw] [hcr] LTW, Reweaving and Hot Code Replace changes reflected every two saves of files
null
resolved fixed
cf0ee0c
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2010-05-26T22:31:02Z
2010-05-24T16:53:20Z
weaver/src/org/aspectj/weaver/tools/WeavingAdaptor.java
/** * Set a message kind to be ignored from now on */ @Override public void ignore(IMessage.Kind kind) { if ((null != kind) && (!ignoring.contains(kind))) { ignoring.add(kind); } } /** * Remove a message kind from the list of those ignored from now on. */ @Override public void dontIgno...
314,130
Bug 314130 [plan] [ltw] [hcr] LTW, Reweaving and Hot Code Replace changes reflected every two saves of files
null
resolved fixed
cf0ee0c
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2010-05-26T22:31:02Z
2010-05-24T16:53:20Z
weaver/src/org/aspectj/weaver/tools/WeavingAdaptor.java
this.unwovenClass = new UnwovenClassFile(name, delegateForCurrentClass.getResolvedTypeX().getName(), bytes); this.unwovenClasses.add(unwovenClass); if (shouldDump(name.replace('/', '.'), true)) { dump(name, bytes, true); } } public void setApplyAtAspectJMungersOnly() { isApplyAtAspectJMungersOnly = ...
314,130
Bug 314130 [plan] [ltw] [hcr] LTW, Reweaving and Hot Code Replace changes reflected every two saves of files
null
resolved fixed
cf0ee0c
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2010-05-26T22:31:02Z
2010-05-24T16:53:20Z
weaver/src/org/aspectj/weaver/tools/WeavingAdaptor.java
} } else { String className = result.getClassName(); generatedClasses.put(className, result); generatedClasses.put(wovenClass.getClassName(), result); generatedClassHandler.acceptClass(className, result.getBytes()); } } public void processingReweavableState() { }...
314,766
Bug 314766 NPE when using aop.xml for compile time config
Reported on the list: java.lang.NullPointerException at org.aspectj.weaver.bcel.BcelWorld.isAspectIncluded(BcelWorld.java:942) at org.aspectj.weaver.ShadowMunger.match(ShadowMunger.java:80) at org.aspectj.weaver.Advice.match(Advice.java:106) at org.aspectj.weaver.bcel.BcelAdvice.match(BcelAdvice.java:149) at org.aspect...
resolved fixed
0e5ecd3
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2010-05-27T20:11:51Z
2010-05-27T19:53:20Z
org.aspectj.matcher/src/org/aspectj/weaver/Advice.java
/* ******************************************************************* * Copyright (c) 2002 Palo Alto Research Center, Incorporated (PARC). * All rights reserved. * This program and the accompanying materials are made available * under the terms of the Eclipse Public License v1.0 * which accompanies this distri...
314,766
Bug 314766 NPE when using aop.xml for compile time config
Reported on the list: java.lang.NullPointerException at org.aspectj.weaver.bcel.BcelWorld.isAspectIncluded(BcelWorld.java:942) at org.aspectj.weaver.ShadowMunger.match(ShadowMunger.java:80) at org.aspectj.weaver.Advice.match(Advice.java:106) at org.aspectj.weaver.bcel.BcelAdvice.match(BcelAdvice.java:149) at org.aspect...
resolved fixed
0e5ecd3
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2010-05-27T20:11:51Z
2010-05-27T19:53:20Z
org.aspectj.matcher/src/org/aspectj/weaver/Advice.java
protected AjAttribute.AdviceAttribute attribute; protected transient AdviceKind kind; protected Member signature; protected ResolvedType concreteAspect; protected List innerCflowEntries = Collections.EMPTY_LIST; protected int nFreeVars; protected TypePattern exceptionType; protected UnresolvedType[] b...
314,766
Bug 314766 NPE when using aop.xml for compile time config
Reported on the list: java.lang.NullPointerException at org.aspectj.weaver.bcel.BcelWorld.isAspectIncluded(BcelWorld.java:942) at org.aspectj.weaver.ShadowMunger.match(ShadowMunger.java:80) at org.aspectj.weaver.Advice.match(Advice.java:106) at org.aspectj.weaver.bcel.BcelAdvice.match(BcelAdvice.java:149) at org.aspect...
resolved fixed
0e5ecd3
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2010-05-27T20:11:51Z
2010-05-27T19:53:20Z
org.aspectj.matcher/src/org/aspectj/weaver/Advice.java
} public static Advice makePerCflowEntry(World world, Pointcut entry, boolean isBelow, Member stackField, ResolvedType inAspect, List innerCflowEntries) { Advice ret = world.createAdviceMunger(isBelow ? AdviceKind.PerCflowBelowEntry : AdviceKind.PerCflowEntry, entry, stackField, 0, entry, inAspect); ret.inn...
314,766
Bug 314766 NPE when using aop.xml for compile time config
Reported on the list: java.lang.NullPointerException at org.aspectj.weaver.bcel.BcelWorld.isAspectIncluded(BcelWorld.java:942) at org.aspectj.weaver.ShadowMunger.match(ShadowMunger.java:80) at org.aspectj.weaver.Advice.match(Advice.java:106) at org.aspectj.weaver.bcel.BcelAdvice.match(BcelAdvice.java:149) at org.aspect...
resolved fixed
0e5ecd3
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2010-05-27T20:11:51Z
2010-05-27T19:53:20Z
org.aspectj.matcher/src/org/aspectj/weaver/Advice.java
this.attribute = attribute; this.kind = attribute.getKind(); this.signature = signature; if (signature != null) { bindingParameterTypes = signature.getParameterTypes(); } else { bindingParameterTypes = new UnresolvedType[0]; } } @Override public boolean match(Shadow shadow, World world) { if (supe...
314,766
Bug 314766 NPE when using aop.xml for compile time config
Reported on the list: java.lang.NullPointerException at org.aspectj.weaver.bcel.BcelWorld.isAspectIncluded(BcelWorld.java:942) at org.aspectj.weaver.ShadowMunger.match(ShadowMunger.java:80) at org.aspectj.weaver.Advice.match(Advice.java:106) at org.aspectj.weaver.bcel.BcelAdvice.match(BcelAdvice.java:149) at org.aspect...
resolved fixed
0e5ecd3
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2010-05-27T20:11:51Z
2010-05-27T19:53:20Z
org.aspectj.matcher/src/org/aspectj/weaver/Advice.java
if (hasExtraParameter() && kind == AdviceKind.AfterReturning) { ResolvedType resolvedExtraParameterType = getExtraParameterType().resolve(world); ResolvedType shadowReturnType = shadow.getReturnType().resolve(world); boolean matches = (resolvedExtraParameterType.isConvertableFrom(shadowReturnType) && shadow...
314,766
Bug 314766 NPE when using aop.xml for compile time config
Reported on the list: java.lang.NullPointerException at org.aspectj.weaver.bcel.BcelWorld.isAspectIncluded(BcelWorld.java:942) at org.aspectj.weaver.ShadowMunger.match(ShadowMunger.java:80) at org.aspectj.weaver.Advice.match(Advice.java:106) at org.aspectj.weaver.bcel.BcelAdvice.match(BcelAdvice.java:149) at org.aspect...
resolved fixed
0e5ecd3
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2010-05-27T20:11:51Z
2010-05-27T19:53:20Z
org.aspectj.matcher/src/org/aspectj/weaver/Advice.java
getSourceLocation(), shadow.getSourceLocation()); return false; } else if (shadow.getKind() == Shadow.Initialization) { world.showMessage(IMessage.WARNING, WeaverMessages.format(WeaverMessages.AROUND_ON_INIT), getSourceLocation(), shadow.getSourceLocation()); return false; } else if (shado...
314,766
Bug 314766 NPE when using aop.xml for compile time config
Reported on the list: java.lang.NullPointerException at org.aspectj.weaver.bcel.BcelWorld.isAspectIncluded(BcelWorld.java:942) at org.aspectj.weaver.ShadowMunger.match(ShadowMunger.java:80) at org.aspectj.weaver.Advice.match(Advice.java:106) at org.aspectj.weaver.bcel.BcelAdvice.match(BcelAdvice.java:149) at org.aspect...
resolved fixed
0e5ecd3
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2010-05-27T20:11:51Z
2010-05-27T19:53:20Z
org.aspectj.matcher/src/org/aspectj/weaver/Advice.java
ResolvedType shadowReturnGenericType = shadowReturnType.getGenericType(); ResolvedType adviceReturnGenericType = adviceReturnType.getGenericType(); if (shadowReturnGenericType.isAssignableFrom(adviceReturnGenericType) && world.getLint().uncheckedAdviceConversion.isEnabled()) { world.get...
314,766
Bug 314766 NPE when using aop.xml for compile time config
Reported on the list: java.lang.NullPointerException at org.aspectj.weaver.bcel.BcelWorld.isAspectIncluded(BcelWorld.java:942) at org.aspectj.weaver.ShadowMunger.match(ShadowMunger.java:80) at org.aspectj.weaver.Advice.match(Advice.java:106) at org.aspectj.weaver.bcel.BcelAdvice.match(BcelAdvice.java:149) at org.aspect...
resolved fixed
0e5ecd3
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2010-05-27T20:11:51Z
2010-05-27T19:53:20Z
org.aspectj.matcher/src/org/aspectj/weaver/Advice.java
* @param shadowReturnType the type at the shadow * @param world */ private void maybeIssueUncheckedMatchWarning(ResolvedType afterReturningType, ResolvedType shadowReturnType, Shadow shadow, World world) { boolean inDoubt = !afterReturningType.isAssignableFrom(shadowReturnType); if (inDoubt && world.getLint...
314,766
Bug 314766 NPE when using aop.xml for compile time config
Reported on the list: java.lang.NullPointerException at org.aspectj.weaver.bcel.BcelWorld.isAspectIncluded(BcelWorld.java:942) at org.aspectj.weaver.ShadowMunger.match(ShadowMunger.java:80) at org.aspectj.weaver.Advice.match(Advice.java:106) at org.aspectj.weaver.bcel.BcelAdvice.match(BcelAdvice.java:149) at org.aspect...
resolved fixed
0e5ecd3
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2010-05-27T20:11:51Z
2010-05-27T19:53:20Z
org.aspectj.matcher/src/org/aspectj/weaver/Advice.java
} protected int getExtraParameterCount() { return countOnes(getExtraParameterFlags() & ParameterMask); } public UnresolvedType[] getBindingParameterTypes() { return bindingParameterTypes; } public void setBindingParameterTypes(UnresolvedType[] types) { bindingParameterTypes = types; } public static int cou...
314,766
Bug 314766 NPE when using aop.xml for compile time config
Reported on the list: java.lang.NullPointerException at org.aspectj.weaver.bcel.BcelWorld.isAspectIncluded(BcelWorld.java:942) at org.aspectj.weaver.ShadowMunger.match(ShadowMunger.java:80) at org.aspectj.weaver.Advice.match(Advice.java:106) at org.aspectj.weaver.bcel.BcelAdvice.match(BcelAdvice.java:149) at org.aspect...
resolved fixed
0e5ecd3
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2010-05-27T20:11:51Z
2010-05-27T19:53:20Z
org.aspectj.matcher/src/org/aspectj/weaver/Advice.java
for (int i = 0; i < result.length; i++) { result[i] = allNames[i]; } return result; } /** * Return the type of the 'extra argument'. For either after returning or after throwing advice, the extra argument will be the * returned value or the thrown exception respectively. With annotation style the user may ...
314,766
Bug 314766 NPE when using aop.xml for compile time config
Reported on the list: java.lang.NullPointerException at org.aspectj.weaver.bcel.BcelWorld.isAspectIncluded(BcelWorld.java:942) at org.aspectj.weaver.ShadowMunger.match(ShadowMunger.java:80) at org.aspectj.weaver.Advice.match(Advice.java:106) at org.aspectj.weaver.bcel.BcelAdvice.match(BcelAdvice.java:149) at org.aspect...
resolved fixed
0e5ecd3
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2010-05-27T20:11:51Z
2010-05-27T19:53:20Z
org.aspectj.matcher/src/org/aspectj/weaver/Advice.java
AnnotationAJ anno = annos[i]; String annosig = anno.getType().getSignature(); if (annosig.equals("Lorg/aspectj/lang/annotation/AfterThrowing;")) { parameterToLookup = anno.getStringFormOfValue("throwing"); } else if (annosig.equals("Lorg/aspectj/lang/annotation/AfterReturning;")) {...
314,766
Bug 314766 NPE when using aop.xml for compile time config
Reported on the list: java.lang.NullPointerException at org.aspectj.weaver.bcel.BcelWorld.isAspectIncluded(BcelWorld.java:942) at org.aspectj.weaver.ShadowMunger.match(ShadowMunger.java:80) at org.aspectj.weaver.Advice.match(Advice.java:106) at org.aspectj.weaver.bcel.BcelAdvice.match(BcelAdvice.java:149) at org.aspect...
resolved fixed
0e5ecd3
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2010-05-27T20:11:51Z
2010-05-27T19:53:20Z
org.aspectj.matcher/src/org/aspectj/weaver/Advice.java
return parameterTypes[baseParmCnt]; } else { return parameterTypes[getBaseParameterCount()]; } } else { return signature.getParameterTypes()[getBaseParameterCount()]; } } public UnresolvedType getDeclaringAspect() { return getOriginalSignature().getDeclaringType(); } protected Member getOriginalS...
314,766
Bug 314766 NPE when using aop.xml for compile time config
Reported on the list: java.lang.NullPointerException at org.aspectj.weaver.bcel.BcelWorld.isAspectIncluded(BcelWorld.java:942) at org.aspectj.weaver.ShadowMunger.match(ShadowMunger.java:80) at org.aspectj.weaver.Advice.match(Advice.java:106) at org.aspectj.weaver.bcel.BcelAdvice.match(BcelAdvice.java:149) at org.aspect...
resolved fixed
0e5ecd3
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2010-05-27T20:11:51Z
2010-05-27T19:53:20Z
org.aspectj.matcher/src/org/aspectj/weaver/Advice.java
@Override public ShadowMunger concretize(ResolvedType fromType, World world, PerClause clause) { Pointcut p = pointcut.concretize(fromType, getDeclaringType(), signature.getArity(), this); if (clause != null) { Pointcut oldP = p; p = new AndPointcut(clause, p); p.copyLocationFrom(oldP); p.state = Po...
314,766
Bug 314766 NPE when using aop.xml for compile time config
Reported on the list: java.lang.NullPointerException at org.aspectj.weaver.bcel.BcelWorld.isAspectIncluded(BcelWorld.java:942) at org.aspectj.weaver.ShadowMunger.match(ShadowMunger.java:80) at org.aspectj.weaver.Advice.match(Advice.java:106) at org.aspectj.weaver.bcel.BcelAdvice.match(BcelAdvice.java:149) at org.aspect...
resolved fixed
0e5ecd3
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2010-05-27T20:11:51Z
2010-05-27T19:53:20Z
org.aspectj.matcher/src/org/aspectj/weaver/Advice.java
} @Override public boolean equals(Object other) { if (!(other instanceof Advice)) { return false; } Advice o = (Advice) other; return o.kind.equals(kind) && ((o.pointcut == null) ? (pointcut == null) : o.pointcut.equals(pointcut)) && ((o.signature == null) ? (signature == null) : o.signature.equals(s...
314,766
Bug 314766 NPE when using aop.xml for compile time config
Reported on the list: java.lang.NullPointerException at org.aspectj.weaver.bcel.BcelWorld.isAspectIncluded(BcelWorld.java:942) at org.aspectj.weaver.ShadowMunger.match(ShadowMunger.java:80) at org.aspectj.weaver.Advice.match(Advice.java:106) at org.aspectj.weaver.bcel.BcelAdvice.match(BcelAdvice.java:149) at org.aspect...
resolved fixed
0e5ecd3
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2010-05-27T20:11:51Z
2010-05-27T19:53:20Z
org.aspectj.matcher/src/org/aspectj/weaver/Advice.java
} return hashCode; } public static final int ExtraArgument = 0x01; public static final int ThisJoinPoint = 0x02; public static final int ThisJoinPointStaticPart = 0x04; public static final int ThisEnclosingJoinPointStaticPart = 0x08; public static final int ParameterMask = 0x0f; public static final int Con...
317,139
Bug 317139 NullPointerException during weaving
null
resolved fixed
92a52a2
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2010-06-29T00:07:59Z
2010-06-17T04:46:40Z
weaver/src/org/aspectj/weaver/bcel/BcelObjectType.java
/* ******************************************************************* * Copyright (c) 2002 Contributors * All rights reserved. * This program and the accompanying materials are made available * under the terms of the Eclipse Public License v1.0 * which accompanies this distribution and is available at * http...
317,139
Bug 317139 NullPointerException during weaving
null
resolved fixed
92a52a2
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2010-06-29T00:07:59Z
2010-06-17T04:46:40Z
weaver/src/org/aspectj/weaver/bcel/BcelObjectType.java
* RonBodkin/AndyClement optimizations for memory consumption/speed * ******************************************************************/ package org.aspectj.weaver.bcel; import java.io.PrintStream; import java.lang.ref.WeakReference; import java.lang.reflect.Modifier; import java.util.ArrayList; import java.util.A...
317,139
Bug 317139 NullPointerException during weaving
null
resolved fixed
92a52a2
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2010-06-29T00:07:59Z
2010-06-17T04:46:40Z
weaver/src/org/aspectj/weaver/bcel/BcelObjectType.java
import org.aspectj.weaver.AbstractReferenceTypeDelegate; import org.aspectj.weaver.AjAttribute; import org.aspectj.weaver.AjcMemberMaker; import org.aspectj.weaver.AnnotationAJ; import org.aspectj.weaver.AnnotationTargetKind; import org.aspectj.weaver.BCException; import org.aspectj.weaver.BindingScope; import org.aspe...
317,139
Bug 317139 NullPointerException during weaving
null
resolved fixed
92a52a2
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2010-06-29T00:07:59Z
2010-06-17T04:46:40Z
weaver/src/org/aspectj/weaver/bcel/BcelObjectType.java
private String className; private String superclassSignature; private String superclassName; private String[] interfaceSignatures; private ResolvedMember[] fields = null; private ResolvedMember[] methods = null; private ResolvedType[] annotationTypes = null; private AnnotationAJ[] annotations = null; private Ty...
317,139
Bug 317139 NullPointerException during weaving
null
resolved fixed
92a52a2
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2010-06-29T00:07:59Z
2010-06-17T04:46:40Z
weaver/src/org/aspectj/weaver/bcel/BcelObjectType.java
private boolean isCodeStyleAspect = false; private WeakReference<ResolvedType> superTypeReference = new WeakReference<ResolvedType>(null); private WeakReference<ResolvedType[]> superInterfaceReferences = new WeakReference<ResolvedType[]>(null); private int bitflag = 0x0000; private static final int DISCOVERED_...
317,139
Bug 317139 NullPointerException during weaving
null
resolved fixed
92a52a2
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2010-06-29T00:07:59Z
2010-06-17T04:46:40Z
weaver/src/org/aspectj/weaver/bcel/BcelObjectType.java
resolvedTypeX.setDelegate(this); ISourceContext sourceContext = resolvedTypeX.getSourceContext(); if (sourceContext == SourceContextImpl.UNKNOWN_SOURCE_CONTEXT) { sourceContext = new SourceContextImpl(this); setSourceContext(sourceContext); } isObject = (javaClass.getSuperclassNameIndex() == 0); e...
317,139
Bug 317139 NullPointerException during weaving
null
resolved fixed
92a52a2
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2010-06-29T00:07:59Z
2010-06-17T04:46:40Z
weaver/src/org/aspectj/weaver/bcel/BcelObjectType.java
isAnnotation = javaClass.isAnnotation(); isAnonymous = javaClass.isAnonymous(); isNested = javaClass.isNested(); modifiers = javaClass.getModifiers(); superclassName = javaClass.getSuperclassName(); className = javaClass.getClassName(); cachedGenericClassTypeSignature = null; } public boolean isInterf...
317,139
Bug 317139 NullPointerException during weaving
null
resolved fixed
92a52a2
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2010-06-29T00:07:59Z
2010-06-17T04:46:40Z
weaver/src/org/aspectj/weaver/bcel/BcelObjectType.java
*/ public ResolvedType getSuperclass() { if (isObject) { return null; } ResolvedType supertype = superTypeReference.get(); if (supertype == null) { ensureGenericSignatureUnpacked(); if (superclassSignature == null) { if (superclassName == null) { superclassName = javaClass.getSuperclassName()...
317,139
Bug 317139 NullPointerException during weaving
null
resolved fixed
92a52a2
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2010-06-29T00:07:59Z
2010-06-17T04:46:40Z
weaver/src/org/aspectj/weaver/bcel/BcelObjectType.java
ensureGenericSignatureUnpacked(); ResolvedType[] interfaceTypes = null; if (interfaceSignatures == null) { String[] names = javaClass.getInterfaceNames(); if (names.length == 0) { interfaceSignatures = NO_INTERFACE_SIGS; interfaceTypes = ResolvedType.NONE; } else { interfaceSignatures =...
317,139
Bug 317139 NullPointerException during weaving
null
resolved fixed
92a52a2
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2010-06-29T00:07:59Z
2010-06-17T04:46:40Z
weaver/src/org/aspectj/weaver/bcel/BcelObjectType.java
Method[] ms = javaClass.getMethods(); methods = new ResolvedMember[ms.length]; for (int i = ms.length - 1; i >= 0; i--) { methods[i] = new BcelMethod(this, ms[i]); } } return methods; } public ResolvedMember[] getDeclaredFields() { ensureGenericSignatureUnpacked(); if (fields == null) { Field[...
317,139
Bug 317139 NullPointerException during weaving
null
resolved fixed
92a52a2
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2010-06-29T00:07:59Z
2010-06-17T04:46:40Z
weaver/src/org/aspectj/weaver/bcel/BcelObjectType.java
classSig.formalTypeParameters, getResolvedTypeX().getWorld()); } catch (GenericSignatureFormatException e) { throw new IllegalStateException("While getting the type variables for type " + this.toString() + " with generic signature " + classSig + " the following error condition was detected: " ...
317,139
Bug 317139 NullPointerException during weaving
null
resolved fixed
92a52a2
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2010-06-29T00:07:59Z
2010-06-17T04:46:40Z
weaver/src/org/aspectj/weaver/bcel/BcelObjectType.java
* Check if the type is an @AJ aspect (no matter if used from an LTW point of view). Such aspects are annotated with @Aspect * * @return true for @AJ aspect */ public boolean isAnnotationStyleAspect() { if ((bitflag & DISCOVERED_WHETHER_ANNOTATION_STYLE) == 0) { bitflag |= DISCOVERED_WHETHER_ANNOTATION_STYL...
317,139
Bug 317139 NullPointerException during weaving
null
resolved fixed
92a52a2
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2010-06-29T00:07:59Z
2010-06-17T04:46:40Z
weaver/src/org/aspectj/weaver/bcel/BcelObjectType.java
typeMungers = new ArrayList<ConcreteTypeMunger>(); declares = new ArrayList<Declare>(); processAttributes(l, pointcuts, false); l = AtAjAttributes.readAj5ClassAttributes(((BcelWorld) getResolvedTypeX().getWorld()).getModelAsAsmManager(), javaClass, getResolvedTypeX(), getResolvedTypeX().getSourceContext(), ms...
317,139
Bug 317139 NullPointerException during weaving
null
resolved fixed
92a52a2
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2010-06-29T00:07:59Z
2010-06-17T04:46:40Z
weaver/src/org/aspectj/weaver/bcel/BcelObjectType.java
isCodeStyleAspect = true; } } else if (a instanceof AjAttribute.PointcutDeclarationAttribute) { pointcuts.add(((AjAttribute.PointcutDeclarationAttribute) a).reify()); } else if (a instanceof AjAttribute.WeaverState) { weaverState = ((AjAttribute.WeaverState) a).reify(); } else if (a instanceof AjAt...
317,139
Bug 317139 NullPointerException during weaving
null
resolved fixed
92a52a2
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2010-06-29T00:07:59Z
2010-06-17T04:46:40Z
weaver/src/org/aspectj/weaver/bcel/BcelObjectType.java
/** * Extra processing step needed because declares that come from annotations are not pre-resolved. We can't do the resolution * until *after* the pointcuts have been resolved. */ private void resolveAnnotationDeclares(List<AjAttribute> attributeList) { FormalBinding[] bindings = new org.aspectj.weaver.patter...
317,139
Bug 317139 NullPointerException during weaving
null
resolved fixed
92a52a2
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2010-06-29T00:07:59Z
2010-06-17T04:46:40Z
weaver/src/org/aspectj/weaver/bcel/BcelObjectType.java
if (javaClass == null) { throw new BCException("can't weave evicted type"); } bitflag = 0x0000; this.annotationTypes = null; this.annotations = null; this.interfaceSignatures = null; this.superclassSignature = null; this.superclassName = null; this.fields = null; this.methods = null; ...
317,139
Bug 317139 NullPointerException during weaving
null
resolved fixed
92a52a2
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2010-06-29T00:07:59Z
2010-06-17T04:46:40Z
weaver/src/org/aspectj/weaver/bcel/BcelObjectType.java
} public WeaverStateInfo getWeaverState() { return weaverState; } void setWeaverState(WeaverStateInfo weaverState) { this.weaverState = weaverState; } public void printWackyStuff(PrintStream out) { if (typeMungers.size() > 0) { out.println(" TypeMungers: " + typeMungers); } if (declares.size() > 0) {...
317,139
Bug 317139 NullPointerException during weaving
null
resolved fixed
92a52a2
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2010-06-29T00:07:59Z
2010-06-17T04:46:40Z
weaver/src/org/aspectj/weaver/bcel/BcelObjectType.java
ret = new LazyClassGen(this); if (isAspect()) { lazyClassGen = ret; } } return ret; } public boolean isSynthetic() { return getResolvedTypeX().isSynthetic(); } public AjAttribute.WeaverVersionInfo getWeaverVersionAttribute() { return wvInfo; } public ResolvedType[] getAnnotationTyp...
317,139
Bug 317139 NullPointerException during weaving
null
resolved fixed
92a52a2
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2010-06-29T00:07:59Z
2010-06-17T04:46:40Z
weaver/src/org/aspectj/weaver/bcel/BcelObjectType.java
if (annos == null || annos.length == 0) { return false; } else { String lookingForSignature = ofType.getSignature(); for (int a = 0; a < annos.length; a++) { AnnotationGen annotation = annos[a]; if (lookingForSignature.equals(annotation.getTypeSignature())) { return true; } } ...
317,139
Bug 317139 NullPointerException during weaving
null
resolved fixed
92a52a2
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2010-06-29T00:07:59Z
2010-06-17T04:46:40Z
weaver/src/org/aspectj/weaver/bcel/BcelObjectType.java
bitflag |= DISCOVERED_ANNOTATION_RETENTION_POLICY; retentionPolicy = null; if (isAnnotation()) { ensureAnnotationsUnpacked(); for (int i = annotations.length - 1; i >= 0; i--) { AnnotationAJ ax = annotations[i]; if (ax.getTypeName().equals(UnresolvedType.AT_RETENTION.getName())) { List<Na...
317,139
Bug 317139 NullPointerException during weaving
null
resolved fixed
92a52a2
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2010-06-29T00:07:59Z
2010-06-17T04:46:40Z
weaver/src/org/aspectj/weaver/bcel/BcelObjectType.java
return false; } public AnnotationTargetKind[] getAnnotationTargetKinds() { if ((bitflag & DISCOVERED_ANNOTATION_TARGET_KINDS) != 0) { return annotationTargetKinds; } bitflag |= DISCOVERED_ANNOTATION_TARGET_KINDS; annotationTargetKinds = null; List<AnnotationTargetKind> targetKinds = new ArrayList<Ann...
317,139
Bug 317139 NullPointerException during weaving
null
resolved fixed
92a52a2
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2010-06-29T00:07:59Z
2010-06-17T04:46:40Z
weaver/src/org/aspectj/weaver/bcel/BcelObjectType.java
} else if (targetKind.equals("PARAMETER")) { targetKinds.add(AnnotationTargetKind.PARAMETER); } else if (targetKind.equals("TYPE")) { targetKinds.add(AnnotationTargetKind.TYPE); } } } } } if (!targetKinds.isEmpty()) { annotationTargetKinds = new AnnotationTargetKin...
317,139
Bug 317139 NullPointerException during weaving
null
resolved fixed
92a52a2
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2010-06-29T00:07:59Z
2010-06-17T04:46:40Z
weaver/src/org/aspectj/weaver/bcel/BcelObjectType.java
annotations = AnnotationAJ.EMPTY_ARRAY; } else { World w = getResolvedTypeX().getWorld(); annotationTypes = new ResolvedType[annos.length]; annotations = new AnnotationAJ[annos.length]; for (int i = 0; i < annos.length; i++) { AnnotationGen annotation = annos[i]; String typeSignature...
317,139
Bug 317139 NullPointerException during weaving
null
resolved fixed
92a52a2
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2010-06-29T00:07:59Z
2010-06-17T04:46:40Z
weaver/src/org/aspectj/weaver/bcel/BcelObjectType.java
} bitflag |= UNPACKED_GENERIC_SIGNATURE; if (!getResolvedTypeX().getWorld().isInJava5Mode()) { return; } GenericSignature.ClassSignature cSig = getGenericClassTypeSignature(); if (cSig != null) { formalsForResolution = cSig.formalTypeParameters; if (isNested()) { GenericSignature.Formal...
317,139
Bug 317139 NullPointerException during weaving
null
resolved fixed
92a52a2
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2010-06-29T00:07:59Z
2010-06-17T04:46:40Z
weaver/src/org/aspectj/weaver/bcel/BcelObjectType.java
ResolvedType rt = BcelGenericSignatureToTypeXConverter.classTypeSignature2TypeX(superSig, formalsForResolution, getResolvedTypeX().getWorld()); this.superclassSignature = rt.getSignature(); this.superclassName = rt.getName(); } catch (GenericSignatureFormatException e) { throw new IllegalState...
317,139
Bug 317139 NullPointerException during weaving
null
resolved fixed
92a52a2
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2010-06-29T00:07:59Z
2010-06-17T04:46:40Z
weaver/src/org/aspectj/weaver/bcel/BcelObjectType.java
+ " with generic signature " + getDeclaredGenericSignature() + " the following error was detected: " + e.getMessage()); } } } } if (isGeneric()) { ReferenceType genericType = (ReferenceType) this.resolvedTypeX.getGenericType(); genericType.setStartPos(this.resolvedTypeX.getStar...
317,139
Bug 317139 NullPointerException during weaving
null
resolved fixed
92a52a2
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2010-06-29T00:07:59Z
2010-06-17T04:46:40Z
weaver/src/org/aspectj/weaver/bcel/BcelObjectType.java
InnerClass[] innerClss = ((InnerClasses) attr).getInnerClasses(); ConstantPool cpool = javaClass.getConstantPool(); for (InnerClass innerCls : innerClss) { if (innerCls.getInnerClassIndex() == 0 || innerCls.getOuterClassIndex() == 0) { continue; } ConstantClass innerClsInfo = (C...
317,139
Bug 317139 NullPointerException during weaving
null
resolved fixed
92a52a2
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2010-06-29T00:07:59Z
2010-06-17T04:46:40Z
weaver/src/org/aspectj/weaver/bcel/BcelObjectType.java
if ((bitflag & DISCOVERED_DECLARED_SIGNATURE) != 0) { return; } bitflag |= DISCOVERED_DECLARED_SIGNATURE; Signature sigAttr = AttributeUtils.getSignatureAttribute(javaClass.getAttributes()); declaredSignature = (sigAttr == null ? null : sigAttr.getSignature()); if (declaredSignature != null) { isGeneric...
317,139
Bug 317139 NullPointerException during weaving
null
resolved fixed
92a52a2
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2010-06-29T00:07:59Z
2010-06-17T04:46:40Z
weaver/src/org/aspectj/weaver/bcel/BcelObjectType.java
getDeclaredMethods(); if (getResolvedTypeX().getWorld().isXnoInline()) { lazyClassGen = null; } if (weaverState != null) { weaverState.setReweavable(false); weaverState.setUnwovenClassFileData(null); } for (int i = methods.length - 1; i >= 0; i--) { methods...
317,139
Bug 317139 NullPointerException during weaving
null
resolved fixed
92a52a2
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2010-06-29T00:07:59Z
2010-06-17T04:46:40Z
weaver/src/org/aspectj/weaver/bcel/BcelObjectType.java
} public void weavingCompleted() { hasBeenWoven = true; if (getResolvedTypeX().getWorld().isRunMinimalMemory()) { evictWeavingState(); } if (getSourceContext() != null && !getResolvedTypeX().isAspect()) { getSourceContext().tidy(); } } public boolean hasBeenWoven() { return hasBeenWoven; } @Overr...
317,743
Bug 317743 import handling and type lookup issues
Raised by Peter Melnikov on the mailing list. Two problems: 1) the binding scope being used for annotation style aspects accumulates lots of duplicate import prefixes in the SimpleScope object. 2) SimpleScope.lookupType tries the prefixes even if the type is already fully qualified. The combination of these issues caus...
resolved fixed
767bb85
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2010-06-29T00:12:05Z
2010-06-23T19:06:40Z
org.aspectj.matcher/src/org/aspectj/weaver/BindingScope.java
/* ******************************************************************* * Copyright (c) 2006-2008 Contributors * All rights reserved. * This program and the accompanying materials are made available * under the terms of the Eclipse Public License v1.0 * which accompanies this distribution and is available at *...
317,743
Bug 317743 import handling and type lookup issues
Raised by Peter Melnikov on the mailing list. Two problems: 1) the binding scope being used for annotation style aspects accumulates lots of duplicate import prefixes in the SimpleScope object. 2) SimpleScope.lookupType tries the prefixes even if the type is already fully qualified. The combination of these issues caus...
resolved fixed
767bb85
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2010-06-29T00:12:05Z
2010-06-23T19:06:40Z
org.aspectj.matcher/src/org/aspectj/weaver/BindingScope.java
public BindingScope(ResolvedType type, ISourceContext sourceContext, FormalBinding[] bindings) { super(type.getWorld(), bindings); m_enclosingType = type; m_sourceContext = sourceContext; } public ResolvedType getEnclosingType() { return m_enclosingType; } public ISourceLocation makeSourceLocation(IHasPosit...
317,743
Bug 317743 import handling and type lookup issues
Raised by Peter Melnikov on the mailing list. Two problems: 1) the binding scope being used for annotation style aspects accumulates lots of duplicate import prefixes in the SimpleScope object. 2) SimpleScope.lookupType tries the prefixes even if the type is already fully qualified. The combination of these issues caus...
resolved fixed
767bb85
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2010-06-29T00:12:05Z
2010-06-23T19:06:40Z
org.aspectj.matcher/src/org/aspectj/weaver/patterns/IScope.java
/* ******************************************************************* * Copyright (c) 2002 Palo Alto Research Center, Incorporated (PARC). * All rights reserved. * This program and the accompanying materials are made available * under the terms of the Eclipse Public License v1.0 * which accompanies this distri...
317,743
Bug 317743 import handling and type lookup issues
Raised by Peter Melnikov on the mailing list. Two problems: 1) the binding scope being used for annotation style aspects accumulates lots of duplicate import prefixes in the SimpleScope object. 2) SimpleScope.lookupType tries the prefixes even if the type is already fully qualified. The combination of these issues caus...
resolved fixed
767bb85
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2010-06-29T00:12:05Z
2010-06-23T19:06:40Z
org.aspectj.matcher/src/org/aspectj/weaver/patterns/IScope.java
/** returns the type corresponding to the name in this scope * returns ResolvedType.MISSING if no such type exists and reports a problem */ UnresolvedType lookupType(String name, IHasPosition location); World getWorld(); ResolvedType getEnclosingType(); IMessageHandler getMessageHandler(); ...
317,743
Bug 317743 import handling and type lookup issues
Raised by Peter Melnikov on the mailing list. Two problems: 1) the binding scope being used for annotation style aspects accumulates lots of duplicate import prefixes in the SimpleScope object. 2) SimpleScope.lookupType tries the prefixes even if the type is already fully qualified. The combination of these issues caus...
resolved fixed
767bb85
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2010-06-29T00:12:05Z
2010-06-23T19:06:40Z
org.aspectj.matcher/src/org/aspectj/weaver/patterns/SimpleScope.java
/* ******************************************************************* * Copyright (c) 2002 Palo Alto Research Center, Incorporated (PARC). * All rights reserved. * This program and the accompanying materials are made available * under the terms of the Eclipse Public License v1.0 * which accompanies this distri...
317,743
Bug 317743 import handling and type lookup issues
Raised by Peter Melnikov on the mailing list. Two problems: 1) the binding scope being used for annotation style aspects accumulates lots of duplicate import prefixes in the SimpleScope object. 2) SimpleScope.lookupType tries the prefixes even if the type is already fully qualified. The combination of these issues caus...
resolved fixed
767bb85
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2010-06-29T00:12:05Z
2010-06-23T19:06:40Z
org.aspectj.matcher/src/org/aspectj/weaver/patterns/SimpleScope.java
private ResolvedType enclosingType; protected FormalBinding[] bindings; private String[] importedPrefixes = javaLangPrefixArray; private String[] importedNames = ZERO_STRINGS; private static final String[] ZERO_STRINGS = new String[0]; private static final String[] javaLangPrefixArray = new String[] { "java.lang."...
317,743
Bug 317743 import handling and type lookup issues
Raised by Peter Melnikov on the mailing list. Two problems: 1) the binding scope being used for annotation style aspects accumulates lots of duplicate import prefixes in the SimpleScope object. 2) SimpleScope.lookupType tries the prefixes even if the type is already fully qualified. The combination of these issues caus...
resolved fixed
767bb85
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2010-06-29T00:12:05Z
2010-06-23T19:06:40Z
org.aspectj.matcher/src/org/aspectj/weaver/patterns/SimpleScope.java
return world.resolve(UnresolvedType.forName(name), true); } public IMessageHandler getMessageHandler() { return world.getMessageHandler(); } public FormalBinding lookupFormal(String name) { for (int i = 0, len = bindings.length; i < len; i++) { if (bindings[i].getName().equals(name)) return bindings[i]; ...
317,743
Bug 317743 import handling and type lookup issues
Raised by Peter Melnikov on the mailing list. Two problems: 1) the binding scope being used for annotation style aspects accumulates lots of duplicate import prefixes in the SimpleScope object. 2) SimpleScope.lookupType tries the prefixes even if the type is already fully qualified. The combination of these issues caus...
resolved fixed
767bb85
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2010-06-29T00:12:05Z
2010-06-23T19:06:40Z
org.aspectj.matcher/src/org/aspectj/weaver/patterns/SimpleScope.java
public static FormalBinding[] makeFormalBindings(UnresolvedType[] types, String[] names) { int len = types.length; FormalBinding[] bindings = new FormalBinding[len]; for (int i = 0; i < len; i++) { bindings[i] = new FormalBinding(types[i], names[i], i); } return bindings; } public ISourceLocation makeS...
317,743
Bug 317743 import handling and type lookup issues
Raised by Peter Melnikov on the mailing list. Two problems: 1) the binding scope being used for annotation style aspects accumulates lots of duplicate import prefixes in the SimpleScope object. 2) SimpleScope.lookupType tries the prefixes even if the type is already fully qualified. The combination of these issues caus...
resolved fixed
767bb85
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2010-06-29T00:12:05Z
2010-06-23T19:06:40Z
org.aspectj.matcher/src/org/aspectj/weaver/patterns/WildTypePattern.java
/* ******************************************************************* * Copyright (c) 2002 Palo Alto Research Center, Incorporated (PARC). * All rights reserved. * This program and the accompanying materials are made available * under the terms of the Eclipse Public License v1.0 * which accompanies this distri...
317,743
Bug 317743 import handling and type lookup issues
Raised by Peter Melnikov on the mailing list. Two problems: 1) the binding scope being used for annotation style aspects accumulates lots of duplicate import prefixes in the SimpleScope object. 2) SimpleScope.lookupType tries the prefixes even if the type is already fully qualified. The combination of these issues caus...
resolved fixed
767bb85
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2010-06-29T00:12:05Z
2010-06-23T19:06:40Z
org.aspectj.matcher/src/org/aspectj/weaver/patterns/WildTypePattern.java
import org.aspectj.bridge.MessageUtil; import org.aspectj.util.FileUtil; import org.aspectj.util.FuzzyBoolean; import org.aspectj.weaver.AjAttribute; import org.aspectj.weaver.BCException; import org.aspectj.weaver.BoundedReferenceType; import org.aspectj.weaver.CompressingDataOutputStream; import org.aspectj.weaver.IH...
317,743
Bug 317743 import handling and type lookup issues
Raised by Peter Melnikov on the mailing list. Two problems: 1) the binding scope being used for annotation style aspects accumulates lots of duplicate import prefixes in the SimpleScope object. 2) SimpleScope.lookupType tries the prefixes even if the type is already fully qualified. The combination of these issues caus...
resolved fixed
767bb85
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2010-06-29T00:12:05Z
2010-06-23T19:06:40Z
org.aspectj.matcher/src/org/aspectj/weaver/patterns/WildTypePattern.java
* typeParameters=WTP{String} resolveBindings resolves typeParameters to ExactTypePattern(String) resolves Foo to RT(Foo) returns * ExactTypePattern(PFoo<String>; - parameterized) * * Foo<Str*> where Foo exists and takes one bound Parser creates WildTypePattern namePatterns = {Foo}, typeParameters=WTP{Str*} * resol...
317,743
Bug 317743 import handling and type lookup issues
Raised by Peter Melnikov on the mailing list. Two problems: 1) the binding scope being used for annotation style aspects accumulates lots of duplicate import prefixes in the SimpleScope object. 2) SimpleScope.lookupType tries the prefixes even if the type is already fully qualified. The combination of these issues caus...
resolved fixed
767bb85
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2010-06-29T00:12:05Z
2010-06-23T19:06:40Z
org.aspectj.matcher/src/org/aspectj/weaver/patterns/WildTypePattern.java
public static boolean boundscheckingoff = false; TypePattern upperBound; TypePattern[] additionalInterfaceBounds; TypePattern lowerBound; private boolean isGeneric = true; WildTypePattern(NamePattern[] namePatterns, boolean includeSubtypes, int dim, boolean isVarArgs, TypePatternList typeParams) { s...
317,743
Bug 317743 import handling and type lookup issues
Raised by Peter Melnikov on the mailing list. Two problems: 1) the binding scope being used for annotation style aspects accumulates lots of duplicate import prefixes in the SimpleScope object. 2) SimpleScope.lookupType tries the prefixes even if the type is already fully qualified. The combination of these issues caus...
resolved fixed
767bb85
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2010-06-29T00:12:05Z
2010-06-23T19:06:40Z
org.aspectj.matcher/src/org/aspectj/weaver/patterns/WildTypePattern.java
this(names, includeSubtypes, dim); this.end = endPos; this.isVarArgs = isVarArg; } public WildTypePattern(List names, boolean includeSubtypes, int dim, int endPos, boolean isVarArg, TypePatternList typeParams, TypePattern upperBound, TypePattern[] additionalInterfaceBounds, TypePattern lowerBound) { this((Na...
317,743
Bug 317743 import handling and type lookup issues
Raised by Peter Melnikov on the mailing list. Two problems: 1) the binding scope being used for annotation style aspects accumulates lots of duplicate import prefixes in the SimpleScope object. 2) SimpleScope.lookupType tries the prefixes even if the type is already fully qualified. The combination of these issues caus...
resolved fixed
767bb85
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2010-06-29T00:12:05Z
2010-06-23T19:06:40Z
org.aspectj.matcher/src/org/aspectj/weaver/patterns/WildTypePattern.java
public void setIsVarArgs(boolean isVarArgs) { this.isVarArgs = isVarArgs; if (isVarArgs) { this.dim += 1; } } /* * (non-Javadoc) * * @see org.aspectj.weaver.patterns.TypePattern#couldEverMatchSameTypesAs(org.aspectj.weaver.patterns.TypePattern) */ @Override protected boolean couldEverMatchSameType...
317,743
Bug 317743 import handling and type lookup issues
Raised by Peter Melnikov on the mailing list. Two problems: 1) the binding scope being used for annotation style aspects accumulates lots of duplicate import prefixes in the SimpleScope object. 2) SimpleScope.lookupType tries the prefixes even if the type is already fully qualified. The combination of these issues caus...
resolved fixed
767bb85
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2010-06-29T00:12:05Z
2010-06-23T19:06:40Z
org.aspectj.matcher/src/org/aspectj/weaver/patterns/WildTypePattern.java
return (mySimpleName.startsWith(yourSimpleName) || yourSimpleName.startsWith(mySimpleName)); } } return true; } public static char[][] splitNames(String s, boolean convertDollar) { List ret = new ArrayList(); int startIndex = 0; while (true) { int breakIndex = s.indexOf('.', startIndex); i...
317,743
Bug 317743 import handling and type lookup issues
Raised by Peter Melnikov on the mailing list. Two problems: 1) the binding scope being used for annotation style aspects accumulates lots of duplicate import prefixes in the SimpleScope object. 2) SimpleScope.lookupType tries the prefixes even if the type is already fully qualified. The combination of these issues caus...
resolved fixed
767bb85
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2010-06-29T00:12:05Z
2010-06-23T19:06:40Z
org.aspectj.matcher/src/org/aspectj/weaver/patterns/WildTypePattern.java
@Override protected boolean matchesExactly(ResolvedType type) { return matchesExactly(type, type); } @Override protected boolean matchesExactly(ResolvedType type, ResolvedType annotatedType) { String targetTypeName = type.getName(); annotationPattern.resolve(type.getWorld()); return matchesExactlyByNa...
317,743
Bug 317743 import handling and type lookup issues
Raised by Peter Melnikov on the mailing list. Two problems: 1) the binding scope being used for annotation style aspects accumulates lots of duplicate import prefixes in the SimpleScope object. 2) SimpleScope.lookupType tries the prefixes even if the type is already fully qualified. The combination of these issues caus...
resolved fixed
767bb85
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2010-06-29T00:12:05Z
2010-06-23T19:06:40Z
org.aspectj.matcher/src/org/aspectj/weaver/patterns/WildTypePattern.java
return true; } BoundedReferenceType boundedRT = (BoundedReferenceType) aType; if (upperBound == null && boundedRT.getUpperBound() != null) { if (!boundedRT.getUpperBound().getName().equals(UnresolvedType.OBJECT.getName())) { return false; } } if (lowerBound == null && boundedRT.getLowerBound() !...
317,743
Bug 317743 import handling and type lookup issues
Raised by Peter Melnikov on the mailing list. Two problems: 1) the binding scope being used for annotation style aspects accumulates lots of duplicate import prefixes in the SimpleScope object. 2) SimpleScope.lookupType tries the prefixes even if the type is already fully qualified. The combination of these issues caus...
resolved fixed
767bb85
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2010-06-29T00:12:05Z
2010-06-23T19:06:40Z
org.aspectj.matcher/src/org/aspectj/weaver/patterns/WildTypePattern.java
} /** * Used in conjunction with checks on 'isStar()' to tell you if this pattern represents '*' or '*[]' which are different ! */ public int getDimensions() { return dim; } @Override public boolean isArray() { return dim > 1; } /** * @param targetTypeName * @return */ private boolean matchesExact...
317,743
Bug 317743 import handling and type lookup issues
Raised by Peter Melnikov on the mailing list. Two problems: 1) the binding scope being used for annotation style aspects accumulates lots of duplicate import prefixes in the SimpleScope object. 2) SimpleScope.lookupType tries the prefixes even if the type is already fully qualified. The combination of these issues caus...
resolved fixed
767bb85
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2010-06-29T00:12:05Z
2010-06-23T19:06:40Z
org.aspectj.matcher/src/org/aspectj/weaver/patterns/WildTypePattern.java
int numDimensionsInTargetType = 0; if (dim > 0) { int index; while ((index = targetTypeName.indexOf('[')) != -1) { numDimensionsInTargetType++; targetTypeName = targetTypeName.substring(index + 1); } if (numDimensionsInTargetType == dim) { return true; } else { return false; ...
317,743
Bug 317743 import handling and type lookup issues
Raised by Peter Melnikov on the mailing list. Two problems: 1) the binding scope being used for annotation style aspects accumulates lots of duplicate import prefixes in the SimpleScope object. 2) SimpleScope.lookupType tries the prefixes even if the type is already fully qualified. The combination of these issues caus...
resolved fixed
767bb85
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2010-06-29T00:12:05Z
2010-06-23T19:06:40Z
org.aspectj.matcher/src/org/aspectj/weaver/patterns/WildTypePattern.java
if (targetTypeName.startsWith(knownMatch) && targetTypeName.length() > knownMatch.length() && targetTypeName.charAt(knownMatch.length()) == '$') { int pos = lastIndexOfDotOrDollar(knownMatch); if (innerMatchesExactly(targetTypeName.substring(pos + 1), isAnonymous, isNested)) { return true; } ...
317,743
Bug 317743 import handling and type lookup issues
Raised by Peter Melnikov on the mailing list. Two problems: 1) the binding scope being used for annotation style aspects accumulates lots of duplicate import prefixes in the SimpleScope object. 2) SimpleScope.lookupType tries the prefixes even if the type is already fully qualified. The combination of these issues caus...
resolved fixed
767bb85
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2010-06-29T00:12:05Z
2010-06-23T19:06:40Z
org.aspectj.matcher/src/org/aspectj/weaver/patterns/WildTypePattern.java
return -1; } private boolean innerMatchesExactly(String s, boolean isAnonymous, boolean convertDollar ) { List<char[]> ret = new ArrayList<char[]>(); int startIndex = 0; while (true) { int breakIndex = s.indexOf('.', startIndex); if (convertDollar && (breakIndex == -1)) { breakIndex = s.indexOf('$', ...
317,743
Bug 317743 import handling and type lookup issues
Raised by Peter Melnikov on the mailing list. Two problems: 1) the binding scope being used for annotation style aspects accumulates lots of duplicate import prefixes in the SimpleScope object. 2) SimpleScope.lookupType tries the prefixes even if the type is already fully qualified. The combination of these issues caus...
resolved fixed
767bb85
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2010-06-29T00:12:05Z
2010-06-23T19:06:40Z
org.aspectj.matcher/src/org/aspectj/weaver/patterns/WildTypePattern.java
if (!namePatterns[patternsIndex++].matches(ret.get(namesIndex++))) { return false; } } return true; } else if (ellipsisCount == 1) { if (namesLength < patternsLength - 1) { return false; } while (patternsIndex < patternsLength) { NamePattern p = namePatterns[patternsIndex++]; if (p...
317,743
Bug 317743 import handling and type lookup issues
Raised by Peter Melnikov on the mailing list. Two problems: 1) the binding scope being used for annotation style aspects accumulates lots of duplicate import prefixes in the SimpleScope object. 2) SimpleScope.lookupType tries the prefixes even if the type is already fully qualified. The combination of these issues caus...
resolved fixed
767bb85
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2010-06-29T00:12:05Z
2010-06-23T19:06:40Z
org.aspectj.matcher/src/org/aspectj/weaver/patterns/WildTypePattern.java
if (pLeft > tLeft) { return false; } while (true) { if (tLeft == 0) { return true; } if (pLeft == 0) { return (starsLeft > 0); } if (pattern[pi] == NamePattern.ELLIPSIS) { return inStar(pattern, target, pi + 1, ti, pLeft, tLeft, starsLeft - 1); } if (!pattern[pi].matches(targ...
317,743
Bug 317743 import handling and type lookup issues
Raised by Peter Melnikov on the mailing list. Two problems: 1) the binding scope being used for annotation style aspects accumulates lots of duplicate import prefixes in the SimpleScope object. 2) SimpleScope.lookupType tries the prefixes even if the type is already fully qualified. The combination of these issues caus...
resolved fixed
767bb85
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2010-06-29T00:12:05Z
2010-06-23T19:06:40Z
org.aspectj.matcher/src/org/aspectj/weaver/patterns/WildTypePattern.java
starsLeft--; patternChar = pattern[++pi]; } while (true) { if (pLeft > tLeft) { return false; } if (patternChar.matches(target[ti])) { if (outOfStar(pattern, target, pi + 1, ti + 1, pLeft - 1, tLeft - 1, starsLeft)) { return true; } } ti++; tLeft--; } } /** * @see org...
317,743
Bug 317743 import handling and type lookup issues
Raised by Peter Melnikov on the mailing list. Two problems: 1) the binding scope being used for annotation style aspects accumulates lots of duplicate import prefixes in the SimpleScope object. 2) SimpleScope.lookupType tries the prefixes even if the type is already fully qualified. The combination of these issues caus...
resolved fixed
767bb85
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2010-06-29T00:12:05Z
2010-06-23T19:06:40Z
org.aspectj.matcher/src/org/aspectj/weaver/patterns/WildTypePattern.java
public NamePattern extractName() { if (isIncludeSubtypes() || isVarArgs() || isArray() || (typeParameters.size() > 0)) { return null; } int len = namePatterns.length; if (len == 1 && !annotationPattern.isAny()) { return null; } NamePattern ret = namePatterns[len - 1]; NamePattern[] newNa...
317,743
Bug 317743 import handling and type lookup issues
Raised by Peter Melnikov on the mailing list. Two problems: 1) the binding scope being used for annotation style aspects accumulates lots of duplicate import prefixes in the SimpleScope object. 2) SimpleScope.lookupType tries the prefixes even if the type is already fully qualified. The combination of these issues caus...
resolved fixed
767bb85
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2010-06-29T00:12:05Z
2010-06-23T19:06:40Z
org.aspectj.matcher/src/org/aspectj/weaver/patterns/WildTypePattern.java
return true; } return false; } /** * If this type pattern has no '.' or '*' in it, then return a simple string * * otherwise, this will return null; */ public String maybeGetSimpleName() { if (namePatterns.length == 1) { return namePatterns[0].maybeGetSimpleName(); } return null; } /** * If...
317,743
Bug 317743 import handling and type lookup issues
Raised by Peter Melnikov on the mailing list. Two problems: 1) the binding scope being used for annotation style aspects accumulates lots of duplicate import prefixes in the SimpleScope object. 2) SimpleScope.lookupType tries the prefixes even if the type is already fully qualified. The combination of these issues caus...
resolved fixed
767bb85
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2010-06-29T00:12:05Z
2010-06-23T19:06:40Z
org.aspectj.matcher/src/org/aspectj/weaver/patterns/WildTypePattern.java
if (i > 0) { buf.append("."); } buf.append(simpleName); } return buf.toString(); } @Override public TypePattern parameterizeWith(Map typeVariableMap, World w) { NamePattern[] newNamePatterns = new NamePattern[namePatterns.length]; for (int i = 0; i < namePatterns.length; i++) { newNamePattern...
317,743
Bug 317743 import handling and type lookup issues
Raised by Peter Melnikov on the mailing list. Two problems: 1) the binding scope being used for annotation style aspects accumulates lots of duplicate import prefixes in the SimpleScope object. 2) SimpleScope.lookupType tries the prefixes even if the type is already fully qualified. The combination of these issues caus...
resolved fixed
767bb85
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2010-06-29T00:12:05Z
2010-06-23T19:06:40Z
org.aspectj.matcher/src/org/aspectj/weaver/patterns/WildTypePattern.java
ret.annotationPattern = this.annotationPattern.parameterizeWith(typeVariableMap, w); if (additionalInterfaceBounds == null) { ret.additionalInterfaceBounds = null; } else { ret.additionalInterfaceBounds = new TypePattern[additionalInterfaceBounds.length]; for (int i = 0; i < additionalInterfaceBounds.lengt...
317,743
Bug 317743 import handling and type lookup issues
Raised by Peter Melnikov on the mailing list. Two problems: 1) the binding scope being used for annotation style aspects accumulates lots of duplicate import prefixes in the SimpleScope object. 2) SimpleScope.lookupType tries the prefixes even if the type is already fully qualified. The combination of these issues caus...
resolved fixed
767bb85
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2010-06-29T00:12:05Z
2010-06-23T19:06:40Z
org.aspectj.matcher/src/org/aspectj/weaver/patterns/WildTypePattern.java
scope.getWorld().getMessageHandler().handleMessage( MessageUtil.error(WeaverMessages.format(WeaverMessages.WILDCARD_NOT_ALLOWED), getSourceLocation())); return NO; } else { return anyPattern; } } } TypePattern bindingTypePattern = maybeResolveToBindingTypePattern(scope, bindings, allowBi...
317,743
Bug 317743 import handling and type lookup issues
Raised by Peter Melnikov on the mailing list. Two problems: 1) the binding scope being used for annotation style aspects accumulates lots of duplicate import prefixes in the SimpleScope object. 2) SimpleScope.lookupType tries the prefixes even if the type is already fully qualified. The combination of these issues caus...
resolved fixed
767bb85
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2010-06-29T00:12:05Z
2010-06-23T19:06:40Z
org.aspectj.matcher/src/org/aspectj/weaver/patterns/WildTypePattern.java
if (requireExactType) { scope.getWorld().getMessageHandler().handleMessage( MessageUtil.error(WeaverMessages.format(WeaverMessages.WILDCARD_NOT_ALLOWED), getSourceLocation())); return NO; } importedPrefixes = scope.getImportedPrefixes(); knownMatches = preMatch(scope.getImportedNames()); retur...
317,743
Bug 317743 import handling and type lookup issues
Raised by Peter Melnikov on the mailing list. Two problems: 1) the binding scope being used for annotation style aspects accumulates lots of duplicate import prefixes in the SimpleScope object. 2) SimpleScope.lookupType tries the prefixes even if the type is already fully qualified. The combination of these issues caus...
resolved fixed
767bb85
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2010-06-29T00:12:05Z
2010-06-23T19:06:40Z
org.aspectj.matcher/src/org/aspectj/weaver/patterns/WildTypePattern.java
String simpleName = maybeGetSimpleName(); if (simpleName != null) { FormalBinding formalBinding = scope.lookupFormal(simpleName); if (formalBinding != null) { if (bindings == null) { scope.message(IMessage.ERROR, this, "negation doesn't allow binding"); return this; } if (!allowBinding) { ...
317,743
Bug 317743 import handling and type lookup issues
Raised by Peter Melnikov on the mailing list. Two problems: 1) the binding scope being used for annotation style aspects accumulates lots of duplicate import prefixes in the SimpleScope object. 2) SimpleScope.lookupType tries the prefixes even if the type is already fully qualified. The combination of these issues caus...
resolved fixed
767bb85
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2010-06-29T00:12:05Z
2010-06-23T19:06:40Z
org.aspectj.matcher/src/org/aspectj/weaver/patterns/WildTypePattern.java
type = resolvedTypeInTheWorld; } else { type = lookupTypeInScope(scope, fullyQualifiedName, this); } if ((type instanceof ResolvedType) && ((ResolvedType) type).isMissing()) { return resolveBindingsForMissingType(resolvedTypeInTheWorld, originalName, scope, bindings, allowBinding, requireExactType); ...
317,743
Bug 317743 import handling and type lookup issues
Raised by Peter Melnikov on the mailing list. Two problems: 1) the binding scope being used for annotation style aspects accumulates lots of duplicate import prefixes in the SimpleScope object. 2) SimpleScope.lookupType tries the prefixes even if the type is already fully qualified. The combination of these issues caus...
resolved fixed
767bb85
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2010-06-29T00:12:05Z
2010-06-23T19:06:40Z
org.aspectj.matcher/src/org/aspectj/weaver/patterns/WildTypePattern.java
if (!ret.isMissing()) { return ret; } ResolvedType retWithPrefix = ret; int counter = 0; while (retWithPrefix.isMissing() && (counter < prefixes.length)) { retWithPrefix = lookupTypeInWorld(world, prefixes[counter] + typeName); counter++; } if (!retWithPrefix.isMissing()) { return retWithPrefix;...
317,743
Bug 317743 import handling and type lookup issues
Raised by Peter Melnikov on the mailing list. Two problems: 1) the binding scope being used for annotation style aspects accumulates lots of duplicate import prefixes in the SimpleScope object. 2) SimpleScope.lookupType tries the prefixes even if the type is already fully qualified. The combination of these issues caus...
resolved fixed
767bb85
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2010-06-29T00:12:05Z
2010-06-23T19:06:40Z
org.aspectj.matcher/src/org/aspectj/weaver/patterns/WildTypePattern.java
if (aType.isTypeVariableReference()) { ret = resolveBindingsForTypeVariable(scope, (UnresolvedTypeVariableReferenceType) aType); } else if (typeParameters.size() > 0) { ret = resolveParameterizedType(scope, aType, requireExactType); } else if (upperBound != null || lowerBound != null) { ret = resol...
317,743
Bug 317743 import handling and type lookup issues
Raised by Peter Melnikov on the mailing list. Two problems: 1) the binding scope being used for annotation style aspects accumulates lots of duplicate import prefixes in the SimpleScope object. 2) SimpleScope.lookupType tries the prefixes even if the type is already fully qualified. The combination of these issues caus...
resolved fixed
767bb85
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2010-06-29T00:12:05Z
2010-06-23T19:06:40Z
org.aspectj.matcher/src/org/aspectj/weaver/patterns/WildTypePattern.java
ResolvedType type = null; if (upperBound != null) { if (upperBound.isIncludeSubtypes()) { canBeExact = false; } else { ReferenceType upper = (ReferenceType) upperBound.getExactType().resolve(scope.getWorld()); type = new BoundedReferenceType(upper, true, scope.getWorld()); } } else { ...
317,743
Bug 317743 import handling and type lookup issues
Raised by Peter Melnikov on the mailing list. Two problems: 1) the binding scope being used for annotation style aspects accumulates lots of duplicate import prefixes in the SimpleScope object. 2) SimpleScope.lookupType tries the prefixes even if the type is already fully qualified. The combination of these issues caus...
resolved fixed
767bb85
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2010-06-29T00:12:05Z
2010-06-23T19:06:40Z
org.aspectj.matcher/src/org/aspectj/weaver/patterns/WildTypePattern.java
return TypePattern.NO; } if (typeParameters.areAllExactWithNoSubtypesAllowed()) { TypePattern[] typePats = typeParameters.getTypePatterns(); UnresolvedType[] typeParameterTypes = new UnresolvedType[typePats.length]; for (int i = 0; i < typeParameterTypes.length; i++) { typeParameterTypes[i] = ((...
317,743
Bug 317743 import handling and type lookup issues
Raised by Peter Melnikov on the mailing list. Two problems: 1) the binding scope being used for annotation style aspects accumulates lots of duplicate import prefixes in the SimpleScope object. 2) SimpleScope.lookupType tries the prefixes even if the type is already fully qualified. The combination of these issues caus...
resolved fixed
767bb85
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2010-06-29T00:12:05Z
2010-06-23T19:06:40Z
org.aspectj.matcher/src/org/aspectj/weaver/patterns/WildTypePattern.java
} private TypePattern resolveBindingsForMissingType(ResolvedType typeFoundInWholeWorldSearch, String nameWeLookedFor, IScope scope, Bindings bindings, boolean allowBinding, boolean requireExactType) { if (requireExactType) { if (!allowBinding) { scope.getWorld().getMessageHandler().handleMessage( Mes...
317,743
Bug 317743 import handling and type lookup issues
Raised by Peter Melnikov on the mailing list. Two problems: 1) the binding scope being used for annotation style aspects accumulates lots of duplicate import prefixes in the SimpleScope object. 2) SimpleScope.lookupType tries the prefixes even if the type is already fully qualified. The combination of these issues caus...
resolved fixed
767bb85
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2010-06-29T00:12:05Z
2010-06-23T19:06:40Z
org.aspectj.matcher/src/org/aspectj/weaver/patterns/WildTypePattern.java
* @return */ private TypePattern resolveBindingsForTypeVariable(IScope scope, UnresolvedTypeVariableReferenceType tvrType) { Bindings emptyBindings = new Bindings(0); if (upperBound != null) { upperBound = upperBound.resolveBindings(scope, emptyBindings, false, false); } if (lowerBound != null) { lower...
317,743
Bug 317743 import handling and type lookup issues
Raised by Peter Melnikov on the mailing list. Two problems: 1) the binding scope being used for annotation style aspects accumulates lots of duplicate import prefixes in the SimpleScope object. 2) SimpleScope.lookupType tries the prefixes even if the type is already fully qualified. The combination of these issues caus...
resolved fixed
767bb85
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2010-06-29T00:12:05Z
2010-06-23T19:06:40Z
org.aspectj.matcher/src/org/aspectj/weaver/patterns/WildTypePattern.java
if (lowerBound != null && ResolvedType.isMissing(lowerBound.getExactType())) { canCreateExactTypePattern = false; } if (additionalInterfaceBounds != null) { for (int i = 0; i < additionalInterfaceBounds.length; i++) { if (ResolvedType.isMissing(additionalInterfaceBounds[i].getExactType())) { ca...
317,743
Bug 317743 import handling and type lookup issues
Raised by Peter Melnikov on the mailing list. Two problems: 1) the binding scope being used for annotation style aspects accumulates lots of duplicate import prefixes in the SimpleScope object. 2) SimpleScope.lookupType tries the prefixes even if the type is already fully qualified. The combination of these issues caus...
resolved fixed
767bb85
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2010-06-29T00:12:05Z
2010-06-23T19:06:40Z
org.aspectj.matcher/src/org/aspectj/weaver/patterns/WildTypePattern.java
} /** * When this method is called, we have resolved the base type to an exact type. We also have a set of type patterns for the * parameters. Time to perform some basic checks: - can the base type be parameterized? (is it generic) - can the type parameter * pattern list match the number of parameters on the bas...
317,743
Bug 317743 import handling and type lookup issues
Raised by Peter Melnikov on the mailing list. Two problems: 1) the binding scope being used for annotation style aspects accumulates lots of duplicate import prefixes in the SimpleScope object. 2) SimpleScope.lookupType tries the prefixes even if the type is already fully qualified. The combination of these issues caus...
resolved fixed
767bb85
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2010-06-29T00:12:05Z
2010-06-23T19:06:40Z
org.aspectj.matcher/src/org/aspectj/weaver/patterns/WildTypePattern.java
if ((tvs.length < minRequiredTypeParameters) || (!foundEllipsis && minRequiredTypeParameters != tvs.length)) { String msg = WeaverMessages.format(WeaverMessages.INCORRECT_NUMBER_OF_TYPE_ARGUMENTS, genericType.getName(), new Integer(tvs.length)); if (requireExactType) { scope.message(MessageUtil.error...
317,743
Bug 317743 import handling and type lookup issues
Raised by Peter Melnikov on the mailing list. Two problems: 1) the binding scope being used for annotation style aspects accumulates lots of duplicate import prefixes in the SimpleScope object. 2) SimpleScope.lookupType tries the prefixes even if the type is already fully qualified. The combination of these issues caus...
resolved fixed
767bb85
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2010-06-29T00:12:05Z
2010-06-23T19:06:40Z
org.aspectj.matcher/src/org/aspectj/weaver/patterns/WildTypePattern.java
private final IScope scope; private final ResolvedType genericType; private final boolean requireExactType; private TypePatternList typeParameters = TypePatternList.EMPTY; private final ISourceLocation sLoc; public VerifyBoundsForTypePattern(IScope scope, ResolvedType genericType, boolean requireExactType, ...
317,743
Bug 317743 import handling and type lookup issues
Raised by Peter Melnikov on the mailing list. Two problems: 1) the binding scope being used for annotation style aspects accumulates lots of duplicate import prefixes in the SimpleScope object. 2) SimpleScope.lookupType tries the prefixes even if the type is already fully qualified. The combination of these issues caus...
resolved fixed
767bb85
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2010-06-29T00:12:05Z
2010-06-23T19:06:40Z
org.aspectj.matcher/src/org/aspectj/weaver/patterns/WildTypePattern.java
if (continueCheck && !tvs[i].canBeBoundTo(ut.resolve(scope.getWorld()))) { String parameterName = ut.getName(); if (ut.isTypeVariableReference()) { parameterName = ((TypeVariableReference) ut).getTypeVariable().getDisplayName(); } String msg = WeaverMessages.format(WeaverMessages.V...
317,743
Bug 317743 import handling and type lookup issues
Raised by Peter Melnikov on the mailing list. Two problems: 1) the binding scope being used for annotation style aspects accumulates lots of duplicate import prefixes in the SimpleScope object. 2) SimpleScope.lookupType tries the prefixes even if the type is already fully qualified. The combination of these issues caus...
resolved fixed
767bb85
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2010-06-29T00:12:05Z
2010-06-23T19:06:40Z
org.aspectj.matcher/src/org/aspectj/weaver/patterns/WildTypePattern.java
} } } } } @Override public boolean isStar() { boolean annPatternStar = annotationPattern == AnnotationTypePattern.ANY; return (isNamePatternStar() && annPatternStar && dim == 0); } private boolean isNamePatternStar() {
317,743
Bug 317743 import handling and type lookup issues
Raised by Peter Melnikov on the mailing list. Two problems: 1) the binding scope being used for annotation style aspects accumulates lots of duplicate import prefixes in the SimpleScope object. 2) SimpleScope.lookupType tries the prefixes even if the type is already fully qualified. The combination of these issues caus...
resolved fixed
767bb85
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2010-06-29T00:12:05Z
2010-06-23T19:06:40Z
org.aspectj.matcher/src/org/aspectj/weaver/patterns/WildTypePattern.java
return namePatterns.length == 1 && namePatterns[0].isAny(); } /** * returns those possible matches which I match exactly the last element of */ private String[] preMatch(String[] possibleMatches) { List ret = new ArrayList(); for (int i = 0, len = possibleMatches.length; i < len; i++) { char[][] names ...
317,743
Bug 317743 import handling and type lookup issues
Raised by Peter Melnikov on the mailing list. Two problems: 1) the binding scope being used for annotation style aspects accumulates lots of duplicate import prefixes in the SimpleScope object. 2) SimpleScope.lookupType tries the prefixes even if the type is already fully qualified. The combination of these issues caus...
resolved fixed
767bb85
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2010-06-29T00:12:05Z
2010-06-23T19:06:40Z
org.aspectj.matcher/src/org/aspectj/weaver/patterns/WildTypePattern.java
if (annotationPattern != AnnotationTypePattern.ANY) { buf.append('('); buf.append(annotationPattern.toString()); buf.append(' '); } for (int i = 0, len = namePatterns.length; i < len; i++) { NamePattern name = namePatterns[i]; if (name == null) { buf.append("."); } else { if (i > 0) { ...
317,743
Bug 317743 import handling and type lookup issues
Raised by Peter Melnikov on the mailing list. Two problems: 1) the binding scope being used for annotation style aspects accumulates lots of duplicate import prefixes in the SimpleScope object. 2) SimpleScope.lookupType tries the prefixes even if the type is already fully qualified. The combination of these issues caus...
resolved fixed
767bb85
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2010-06-29T00:12:05Z
2010-06-23T19:06:40Z
org.aspectj.matcher/src/org/aspectj/weaver/patterns/WildTypePattern.java
buf.append('+'); } if (isVarArgs) { buf.append("..."); } if (annotationPattern != AnnotationTypePattern.ANY) { buf.append(')'); } return buf.toString(); } @Override public boolean equals(Object other) { if (!(other instanceof WildTypePattern)) { return false; } WildTypePattern o = (WildTyp...
317,743
Bug 317743 import handling and type lookup issues
Raised by Peter Melnikov on the mailing list. Two problems: 1) the binding scope being used for annotation style aspects accumulates lots of duplicate import prefixes in the SimpleScope object. 2) SimpleScope.lookupType tries the prefixes even if the type is already fully qualified. The combination of these issues caus...
resolved fixed
767bb85
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2010-06-29T00:12:05Z
2010-06-23T19:06:40Z
org.aspectj.matcher/src/org/aspectj/weaver/patterns/WildTypePattern.java
if (o.upperBound == null) { return false; } if (!this.upperBound.equals(o.upperBound)) { return false; } } else { if (o.upperBound != null) { return false; } } if (this.lowerBound != null) { if (o.lowerBound == null) { return false; } if (!this.lowerBound.equals(o.lowerBoun...
317,743
Bug 317743 import handling and type lookup issues
Raised by Peter Melnikov on the mailing list. Two problems: 1) the binding scope being used for annotation style aspects accumulates lots of duplicate import prefixes in the SimpleScope object. 2) SimpleScope.lookupType tries the prefixes even if the type is already fully qualified. The combination of these issues caus...
resolved fixed
767bb85
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2010-06-29T00:12:05Z
2010-06-23T19:06:40Z
org.aspectj.matcher/src/org/aspectj/weaver/patterns/WildTypePattern.java
} return (o.annotationPattern.equals(this.annotationPattern)); } @Override public int hashCode() { int result = 17; for (int i = 0, len = namePatterns.length; i < len; i++) { result = 37 * result + namePatterns[i].hashCode(); } result = 37 * result + annotationPattern.hashCode(); if (upperBound != nul...