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
374,745
Bug 374745 Performance regression in 1.6.12
null
resolved fixed
549d227
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2012-03-23T23:57:10Z
2012-03-20T10:40:00Z
org.aspectj.matcher/src/org/aspectj/weaver/ResolvedType.java
@Override public final int getModifiers() { return 0; } @Override public final boolean isAssignableFrom(ResolvedType other) { return false; } @Override public final boolean isAssignableFrom(ResolvedType other, boolean allowMissing) { return false; } @Override public final boolean isCoerceab...
374,745
Bug 374745 Performance regression in 1.6.12
null
resolved fixed
549d227
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2012-03-23T23:57:10Z
2012-03-20T10:40:00Z
org.aspectj.matcher/src/org/aspectj/weaver/ResolvedType.java
if (ret == null && interTypeMungers != null) { for (ConcreteTypeMunger tm : interTypeMungers) { if (matches(tm.getSignature(), member)) { return tm.getSignature(); } } } return ret; } public ResolvedMember lookupMemberWithSupersAndITDs(Member member) { ResolvedMember ret = lookupMemberNoSuper...
374,745
Bug 374745 Performance regression in 1.6.12
null
resolved fixed
549d227
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2012-03-23T23:57:10Z
2012-03-20T10:40:00Z
org.aspectj.matcher/src/org/aspectj/weaver/ResolvedType.java
ResolvedMember ret; if (member.getKind() == Member.FIELD) { ret = lookupMember(member, getDeclaredFields()); } else { ret = lookupMember(member, getDeclaredMethods()); } return ret; } /** * This lookup has specialized behaviour - a null result tells the EclipseTypeMunger that it should make a ...
374,745
Bug 374745 Performance regression in 1.6.12
null
resolved fixed
549d227
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2012-03-23T23:57:10Z
2012-03-20T10:40:00Z
org.aspectj.matcher/src/org/aspectj/weaver/ResolvedType.java
ResolvedType[] superInterfaces = onType.getDeclaredInterfaces(); for (int i = 0; i < superInterfaces.length; i++) { ret = superInterfaces[i].lookupMethodInITDs(member); if (ret != null) { return ret; } } } } return ret; } protected List<ConcreteTypeMunger> interTypeMungers = new Ar...
374,745
Bug 374745 Performance regression in 1.6.12
null
resolved fixed
549d227
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2012-03-23T23:57:10Z
2012-03-20T10:40:00Z
org.aspectj.matcher/src/org/aspectj/weaver/ResolvedType.java
collectInterTypeMungers(ret); return ret; } public List<ConcreteTypeMunger> getInterTypeParentMungersIncludingSupers() { ArrayList<ConcreteTypeMunger> ret = new ArrayList<ConcreteTypeMunger>(); collectInterTypeParentMungers(ret); return ret; } private void collectInterTypeParentMungers(List<ConcreteTypeMung...
374,745
Bug 374745 Performance regression in 1.6.12
null
resolved fixed
549d227
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2012-03-23T23:57:10Z
2012-03-20T10:40:00Z
org.aspectj.matcher/src/org/aspectj/weaver/ResolvedType.java
} for (ConcreteTypeMunger myMunger : getInterTypeMungers()) { if (conflictingSignature(myMunger.getSignature(), superMunger.getSignature())) { iter1.remove(); continue outer; } } if (!superMunger.getSignature().isPublic()) { continue; } for (Iterator<ResolvedMember> iter = getMethod...
374,745
Bug 374745 Performance regression in 1.6.12
null
resolved fixed
549d227
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2012-03-23T23:57:10Z
2012-03-20T10:40:00Z
org.aspectj.matcher/src/org/aspectj/weaver/ResolvedType.java
itdProblem = checkAbstractDeclaration(munger) || itdProblem; } if (itdProblem) { return; } for (ConcreteTypeMunger munger : getInterTypeMungersIncludingSupers()) { if (munger.getSignature() != null && munger.getSignature().isAbstract()) { if (munger.getMunger().getKind() == ResolvedTypeMunger.Metho...
374,745
Bug 374745 Performance regression in 1.6.12
null
resolved fixed
549d227
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2012-03-23T23:57:10Z
2012-03-20T10:40:00Z
org.aspectj.matcher/src/org/aspectj/weaver/ResolvedType.java
if (onType.isInterface() && itdMember.isAbstract() && !itdMember.isPublic()) { world.getMessageHandler().handleMessage( new Message(WeaverMessages.format(WeaverMessages.ITD_ABSTRACT_MUST_BE_PUBLIC_ON_INTERFACE, munger.getSignature(), onType), "", Message.ERROR, getSourceLocation(), null, new I...
374,745
Bug 374745 Performance regression in 1.6.12
null
resolved fixed
549d227
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2012-03-23T23:57:10Z
2012-03-20T10:40:00Z
org.aspectj.matcher/src/org/aspectj/weaver/ResolvedType.java
*/ public ResolvedType getDeclaringType() { if (isArray()) { return null; } String name = getName(); int lastDollar = name.lastIndexOf('$'); while (lastDollar > 0) { ResolvedType ret = world.resolve(UnresolvedType.forName(name.substring(0, lastDollar)), true); if (!ResolvedType.isMissing(ret)) { ...
374,745
Bug 374745 Performance regression in 1.6.12
null
resolved fixed
549d227
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2012-03-23T23:57:10Z
2012-03-20T10:40:00Z
org.aspectj.matcher/src/org/aspectj/weaver/ResolvedType.java
String p1 = targetType.getPackageName(); String p2 = fromType.getPackageName(); if (p1 == null) { return p2 == null; } if (p2 == null) { return false; } return p1.equals(p2); } /** * Checks if the generic type for 'this' and the generic type for 'other' are the same - it can be passed raw or param...
374,745
Bug 374745 Performance regression in 1.6.12
null
resolved fixed
549d227
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2012-03-23T23:57:10Z
2012-03-20T10:40:00Z
org.aspectj.matcher/src/org/aspectj/weaver/ResolvedType.java
public ResolvedType discoverActualOccurrenceOfTypeInHierarchy(ResolvedType lookingFor) { if (!lookingFor.isGenericType()) { throw new BCException("assertion failed: method should only be called with generic type, but " + lookingFor + " is " + lookingFor.typeKind); } if (this.equals(ResolvedType.OBJECT)) {...
374,745
Bug 374745 Performance regression in 1.6.12
null
resolved fixed
549d227
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2012-03-23T23:57:10Z
2012-03-20T10:40:00Z
org.aspectj.matcher/src/org/aspectj/weaver/ResolvedType.java
* this happens this routine will check for the target type in the target hierarchy and 'bind' any type parameters as * appropriate. For example, for the ITD "List<T> I<T>.x" against a type like this: "class A implements I<String>" this routine * will return a parameterized form of the ITD "List<String> I.x" */ p...
374,745
Bug 374745 Performance regression in 1.6.12
null
resolved fixed
549d227
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2012-03-23T23:57:10Z
2012-03-20T10:40:00Z
org.aspectj.matcher/src/org/aspectj/weaver/ResolvedType.java
System.err.println(" Actual target ontype: " + onType + " (" + onType.typeKind + ")"); } ResolvedType actualTarget = discoverActualOccurrenceOfTypeInHierarchy(onType); if (actualTarget == null) { throw new BCException("assertion failed: asked " + this + " for occurrence of " + onType + " in its h...
374,745
Bug 374745 Performance regression in 1.6.12
null
resolved fixed
549d227
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2012-03-23T23:57:10Z
2012-03-20T10:40:00Z
org.aspectj.matcher/src/org/aspectj/weaver/ResolvedType.java
return munger; } /** * Add an intertype munger to this type. isDuringCompilation tells us if we should be checking for an error scenario where two * ITD fields are trying to use the same name. When this happens during compilation one of them is altered to get mangled name * but when it happens during weaving it...
374,745
Bug 374745 Performance regression in 1.6.12
null
resolved fixed
549d227
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2012-03-23T23:57:10Z
2012-03-20T10:40:00Z
org.aspectj.matcher/src/org/aspectj/weaver/ResolvedType.java
if (clashesWithExistingMember(munger, Arrays.asList(world.getCoreType(OBJECT).getDeclaredMethods()).iterator())) { return; } } } else if (sig.getKind() == Member.FIELD) { if (clashesWithExistingMember(munger, Arrays.asList(getDeclaredFields()).iterator())) { return; } if (!isDurin...
374,745
Bug 374745 Performance regression in 1.6.12
null
resolved fixed
549d227
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2012-03-23T23:57:10Z
2012-03-20T10:40:00Z
org.aspectj.matcher/src/org/aspectj/weaver/ResolvedType.java
sb.append("on the same target type. Please recompile at least one aspect with '-Xset:itdVersion=1'."); sb.append(" Aspects involved: " + munger.getAspectType().getName() + " and " + typeMunger.getAspectType().getName() + "."); sb.append(" Field is named '" + existing.getSignature().getN...
374,745
Bug 374745 Performance regression in 1.6.12
null
resolved fixed
549d227
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2012-03-23T23:57:10Z
2012-03-20T10:40:00Z
org.aspectj.matcher/src/org/aspectj/weaver/ResolvedType.java
} if (c < 0) { checkLegalOverride(munger.getSignature(), existingMunger.getSignature(), 0x11, null); return; } else if (c > 0) { checkLegalOverride(existingMunger.getSignature(), munger.getSignature(), 0x11, null); i.remove(); break; } else { interT...
374,745
Bug 374745 Performance regression in 1.6.12
null
resolved fixed
549d227
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2012-03-23T23:57:10Z
2012-03-20T10:40:00Z
org.aspectj.matcher/src/org/aspectj/weaver/ResolvedType.java
*/ private boolean clashesWithExistingMember(ConcreteTypeMunger typeTransformer, Iterator<ResolvedMember> existingMembers) { ResolvedMember typeTransformerSignature = typeTransformer.getSignature(); while (existingMembers.hasNext()) { ResolvedMember...
374,745
Bug 374745 Performance regression in 1.6.12
null
resolved fixed
549d227
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2012-03-23T23:57:10Z
2012-03-20T10:40:00Z
org.aspectj.matcher/src/org/aspectj/weaver/ResolvedType.java
if (conflictingSignature(existingMember, typeTransformerSignature)) { if (isVisible(existingMember.getModifiers(), this, typeTransformer.getAspectType())) { int c = compareMemberPrecedence(typeTransformerSignature, existingMember); if (c < 0) { checkLegalOverrid...
374,745
Bug 374745 Performance regression in 1.6.12
null
resolved fixed
549d227
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2012-03-23T23:57:10Z
2012-03-20T10:40:00Z
org.aspectj.matcher/src/org/aspectj/weaver/ResolvedType.java
boolean isDuplicateOfPreviousITD = false; ResolvedType declaringRt = existingMember.getDeclaringType().resolve(world); WeaverStateInfo wsi = declaringRt.getWeaverState(); if (wsi != null) { List<ConcreteTypeMunger> mungersAffectingThisType = wsi.getTypeMungers(declaringRt); if (mung...
374,745
Bug 374745 Performance regression in 1.6.12
null
resolved fixed
549d227
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2012-03-23T23:57:10Z
2012-03-20T10:40:00Z
org.aspectj.matcher/src/org/aspectj/weaver/ResolvedType.java
existingMember); getWorld().getMessageHandler().handleMessage(new Message(msg, typeTransformerLocation, true)); if (existingMemberLocation != null) { getWorld().getMessageHandler() .handleMessage(new Message(msg, existingMemberLocation, tru...
374,745
Bug 374745 Performance regression in 1.6.12
null
resolved fixed
549d227
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2012-03-23T23:57:10Z
2012-03-20T10:40:00Z
org.aspectj.matcher/src/org/aspectj/weaver/ResolvedType.java
private boolean isDuplicateMemberWithinTargetType(ResolvedMember existingMember, ResolvedType targetType, ResolvedMember itdMember) { if ((existingMember.isAbstract() || itdMember.isAbstract())) { return false; } UnresolvedType declaringType = existingMember.getDeclaringType(); if (!targetType.equals(decl...
374,745
Bug 374745 Performance regression in 1.6.12
null
resolved fixed
549d227
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2012-03-23T23:57:10Z
2012-03-20T10:40:00Z
org.aspectj.matcher/src/org/aspectj/weaver/ResolvedType.java
* an additional source location. */ public boolean checkLegalOverride(ResolvedMember parent, ResolvedMember child, int transformerPosition, ResolvedType aspectType) { if (Modifier.isFinal(parent.getModifiers())) { if (transformerPosition == 0x10 && aspectType != null) { Res...
374,745
Bug 374745 Performance regression in 1.6.12
null
resolved fixed
549d227
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2012-03-23T23:57:10Z
2012-03-20T10:40:00Z
org.aspectj.matcher/src/org/aspectj/weaver/ResolvedType.java
} world.showMessage(Message.ERROR, WeaverMessages.format(WeaverMessages.CANT_OVERRIDE_FINAL_MEMBER, parent), child.getSourceLocation(), null); return false; } boolean incompatibleReturnTypes = false; if (world.isInJava5Mode() && parent.getKind() == Member.METHOD) { ResolvedType rtParentReturn...
374,745
Bug 374745 Performance regression in 1.6.12
null
resolved fixed
549d227
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2012-03-23T23:57:10Z
2012-03-20T10:40:00Z
org.aspectj.matcher/src/org/aspectj/weaver/ResolvedType.java
world.showMessage(IMessage.ERROR, WeaverMessages.format(WeaverMessages.ITD_PARAM_TYPE_MISMATCH, parent, child), child.getSourceLocation(), parent.getSourceLocation()); return false; } } if (isMoreVisible(parent.getModifiers(), child.getModifiers())) { world.showMessage(IMessage.ERROR, WeaverMe...
374,745
Bug 374745 Performance regression in 1.6.12
null
resolved fixed
549d227
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2012-03-23T23:57:10Z
2012-03-20T10:40:00Z
org.aspectj.matcher/src/org/aspectj/weaver/ResolvedType.java
return false; } boolean parentStatic = Modifier.isStatic(parent.getModifiers()); boolean childStatic = Modifier.isStatic(child.getModifiers()); if (parentStatic && !childStatic) { world.showMessage(IMessage.ERROR, WeaverMessages.format(WeaverMessages.ITD_OVERRIDDEN_STATIC, child, parent), child.getSourc...
374,745
Bug 374745 Performance regression in 1.6.12
null
resolved fixed
549d227
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2012-03-23T23:57:10Z
2012-03-20T10:40:00Z
org.aspectj.matcher/src/org/aspectj/weaver/ResolvedType.java
if (declaring != null) { if (declaring.getName().equals("java.lang.Object") && m2.getName().equals("clone")) { return +1; } } } if (Modifier.isAbstract(m1.getModifiers())) { return -1; } if (Modifier.isAbstract(m2.getModifiers())) { return +1; } if (m1.getDeclaringType().equals(m2.getD...
374,745
Bug 374745 Performance regression in 1.6.12
null
resolved fixed
549d227
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2012-03-23T23:57:10Z
2012-03-20T10:40:00Z
org.aspectj.matcher/src/org/aspectj/weaver/ResolvedType.java
return Modifier.isPrivate(m2); } if (Modifier.isProtected(m1)) { return (Modifier.isPrivate(m2) || isPackage(m2)); } if (Modifier.isPublic(m1)) { return !Modifier.isPublic(m2); } throw new RuntimeException("bad modifier: " + m1); } private static boolean isPackage(int i) { return (0 == (i & (Modif...
374,745
Bug 374745 Performance regression in 1.6.12
null
resolved fixed
549d227
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2012-03-23T23:57:10Z
2012-03-20T10:40:00Z
org.aspectj.matcher/src/org/aspectj/weaver/ResolvedType.java
for (ConcreteTypeMunger m : interTypeMungers) { ResolvedMember ret = m.getMatchingSyntheticMember(member); if (ret != null) { return ret; } } if (world.isJoinpointArrayConstructionEnabled() && this.isArray()) { if (member.getKind() == Member.CONSTRUCTOR) { ResolvedMemberImpl ret = new Re...
374,745
Bug 374745 Performance regression in 1.6.12
null
resolved fixed
549d227
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2012-03-23T23:57:10Z
2012-03-20T10:40:00Z
org.aspectj.matcher/src/org/aspectj/weaver/ResolvedType.java
private ResolvedType curr; private SuperInterfaceWalker iwalker; private boolean wantGenerics; public SuperClassWalker(ResolvedType type, SuperInterfaceWalker iwalker, boolean genericsAware) { this.curr = type; this.iwalker = iwalker; this.wantGenerics = genericsAware; } public boolean hasNext() { ...
374,745
Bug 374745 Performance regression in 1.6.12
null
resolved fixed
549d227
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2012-03-23T23:57:10Z
2012-03-20T10:40:00Z
org.aspectj.matcher/src/org/aspectj/weaver/ResolvedType.java
public Queue<ResolvedType> toPersue = new LinkedList<ResolvedType>(); public Set<ResolvedType> visited = new HashSet<ResolvedType>(); SuperInterfaceWalker(Iterators.Getter<ResolvedType, ResolvedType> ifaceGetter) { this.ifaceGetter = ifaceGetter; } SuperInterfaceWalker(Iterators.Getter<ResolvedType, Resolved...
374,745
Bug 374745 Performance regression in 1.6.12
null
resolved fixed
549d227
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2012-03-23T23:57:10Z
2012-03-20T10:40:00Z
org.aspectj.matcher/src/org/aspectj/weaver/ResolvedType.java
if (visited.add(next)) { toPersue.add(next); } return next; } public void remove() { throw new UnsupportedOperationException(); } } public void clearInterTypeMungers() { if (isRawType()) { ResolvedType genericType = getGenericType(); if (genericType.isRawType()) { System.err.prin...
374,745
Bug 374745 Performance regression in 1.6.12
null
resolved fixed
549d227
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2012-03-23T23:57:10Z
2012-03-20T10:40:00Z
org.aspectj.matcher/src/org/aspectj/weaver/ResolvedType.java
} else { ResolvedType superclass = this.getSuperclass(); if (superclass.isMissing()) { b = true; } else if (interfaceType.isAssignableFrom(superclass, true)) { b = false; } } return b; } public ResolvedType getTopmostImplementor(ResolvedType interfaceType) { if (isInterface()) { retu...
374,745
Bug 374745 Performance regression in 1.6.12
null
resolved fixed
549d227
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2012-03-23T23:57:10Z
2012-03-20T10:40:00Z
org.aspectj.matcher/src/org/aspectj/weaver/ResolvedType.java
for (ResolvedType type : getDeclaredInterfaces()) { addPointcutsResolvingConflicts(ret, Arrays.asList(type.getDeclaredPointcuts()), false); } addPointcutsResolvingConflicts(ret, Arrays.asList(getDeclaredPointcuts()), true); for (ResolvedMember member : ret) { ResolvedPointcutDefinition inherited = (Resolved...
374,745
Bug 374745 Performance regression in 1.6.12
null
resolved fixed
549d227
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2012-03-23T23:57:10Z
2012-03-20T10:40:00Z
org.aspectj.matcher/src/org/aspectj/weaver/ResolvedType.java
if (existing.isAbstract() && conflictingSignature(existing, toAdd)) { getWorld().showMessage( IMessage.ERROR, WeaverMessages.format(WeaverMessages.POINTCUT_NOT_VISIBLE, existing.getDeclaringType() .getName() + "." + existing.getName() + "()", this.getName()), toAdd.getSource...
374,745
Bug 374745 Performance regression in 1.6.12
null
resolved fixed
549d227
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2012-03-23T23:57:10Z
2012-03-20T10:40:00Z
org.aspectj.matcher/src/org/aspectj/weaver/ResolvedType.java
} public boolean isExposedToWeaver() { return false; } public WeaverStateInfo getWeaverState() { return null; } /** * Overridden by ReferenceType to return a sensible answer for parameterized and raw types. * * @return */ public ResolvedType getGenericType() { return null; } @Override publ...
374,745
Bug 374745 Performance regression in 1.6.12
null
resolved fixed
549d227
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2012-03-23T23:57:10Z
2012-03-20T10:40:00Z
org.aspectj.matcher/src/org/aspectj/weaver/ResolvedType.java
*/ @Override public UnresolvedType parameterize(Map<String, UnresolvedType> typeBindings) { if (!isParameterizedType()) { return this; } boolean workToDo = false; for (int i = 0; i < typeParameters.length; i++) { if (typeParameters[i].isTypeVariableReference() || (typeParameters[i] instanceof Boun...
374,745
Bug 374745 Performance regression in 1.6.12
null
resolved fixed
549d227
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2012-03-23T23:57:10Z
2012-03-20T10:40:00Z
org.aspectj.matcher/src/org/aspectj/weaver/ResolvedType.java
} } return TypeFactory.createParameterizedType(getGenericType(), newTypeParams, getWorld()); } } /** * Similar to the above method, but accumulates the super types * * @return */
374,745
Bug 374745 Performance regression in 1.6.12
null
resolved fixed
549d227
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2012-03-23T23:57:10Z
2012-03-20T10:40:00Z
org.aspectj.matcher/src/org/aspectj/weaver/ResolvedType.java
/** * @return true if assignable to java.lang.Exception */ public boolean isException() { return (world.getCoreType(UnresolvedType.JL_EXCEPTION).isAssignableFrom(this)); } /** * @return true if it is an exception and it is a checked one, false otherwise. */ public boolean isCheckedException() { if (!isE...
374,745
Bug 374745 Performance regression in 1.6.12
null
resolved fixed
549d227
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2012-03-23T23:57:10Z
2012-03-20T10:40:00Z
org.aspectj.matcher/src/org/aspectj/weaver/ResolvedType.java
return false; } return true; } /** * Determines if variables of this type could be assigned values of another with lots of help. java.lang.Object is convertable * from all types. A primitive type is convertable from X iff it's assignable from X. A reference type is convertable from X iff * it's coerceable f...
374,745
Bug 374745 Performance regression in 1.6.12
null
resolved fixed
549d227
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2012-03-23T23:57:10Z
2012-03-20T10:40:00Z
org.aspectj.matcher/src/org/aspectj/weaver/ResolvedType.java
if (validBoxing.contains(this.getSignature() + other.getSignature())) { return true; } } } if (this.isPrimitiveType() || other.isPrimitiveType()) { return this.isAssignableFrom(other); } return this.isCoerceableFrom(other); } /** * Determines if the variables of this type could be assigned va...
374,745
Bug 374745 Performance regression in 1.6.12
null
resolved fixed
549d227
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2012-03-23T23:57:10Z
2012-03-20T10:40:00Z
org.aspectj.matcher/src/org/aspectj/weaver/ResolvedType.java
* * <pre> * a.isCoerceableFrom(b, w) == b.isCoerceableFrom(a, w) * </pre> * * </blockquote> * * @param other the other type * @param world the {@link World} in which the possible coersion should be checked. * @return true iff values of other could possibly be cast to this type. * @throws NullPoin...
374,745
Bug 374745 Performance regression in 1.6.12
null
resolved fixed
549d227
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2012-03-23T23:57:10Z
2012-03-20T10:40:00Z
org.aspectj.matcher/src/org/aspectj/weaver/ResolvedType.java
parameterizedWithTypeVariable = FuzzyBoolean.NO; return false; } for (int i = 0; i < typeParameters.length; i++) { ResolvedType aType = (ResolvedType) typeParameters[i]; if (aType.isTypeVariableReference() ) { parameterizedWithTypeVa...
374,745
Bug 374745 Performance regression in 1.6.12
null
resolved fixed
549d227
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2012-03-23T23:57:10Z
2012-03-20T10:40:00Z
org.aspectj.matcher/src/org/aspectj/weaver/ResolvedType.java
BoundedReferenceType boundedRT = (BoundedReferenceType) aType; if (boundedRT.isExtends()) { boolean b = false; UnresolvedType upperBound = boundedRT.getUpperBound(); if (upperBound.isParameterizedType()) { b = ((ResolvedType) upperBound).isParameterizedWithTypeVariable(); } else if (...
374,745
Bug 374745 Performance regression in 1.6.12
null
resolved fixed
549d227
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2012-03-23T23:57:10Z
2012-03-20T10:40:00Z
org.aspectj.matcher/src/org/aspectj/weaver/ResolvedType.java
} } parameterizedWithTypeVariable = FuzzyBoolean.NO; } return parameterizedWithTypeVariable.alwaysTrue(); } protected boolean ajMembersNeedParameterization() { if (isParameterizedType()) { return true; } ResolvedType superclass = getSuperclass(); if (superclass != null && !superclass.isMissing())...
374,745
Bug 374745 Performance regression in 1.6.12
null
resolved fixed
549d227
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2012-03-23T23:57:10Z
2012-03-20T10:40:00Z
org.aspectj.matcher/src/org/aspectj/weaver/ResolvedType.java
/** * Returns the path to the jar or class file from which this binary aspect came or null if not a binary aspect */ public String getBinaryPath() { return binaryPath; } /** * Undo any temporary modifications to the type (for example it may be holding annotations temporarily whilst some matching is * occur...
374,745
Bug 374745 Performance regression in 1.6.12
null
resolved fixed
549d227
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2012-03-23T23:57:10Z
2012-03-20T10:40:00Z
org.aspectj.matcher/src/org/aspectj/weaver/ResolvedType.java
} } } private boolean hasNewParentMungers() { if ((bits & MungersAnalyzed) == 0) { bits |= MungersAnalyzed; for (ConcreteTypeMunger munger : interTypeMungers) { ResolvedTypeMunger resolvedTypeMunger = munger.getMunger(); if (resolvedTypeMunger != null && resolvedTypeMunger.getKind() == ResolvedTypeM...
374,745
Bug 374745 Performance regression in 1.6.12
null
resolved fixed
549d227
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2012-03-23T23:57:10Z
2012-03-20T10:40:00Z
org.aspectj.matcher/src/org/aspectj/weaver/ResolvedType.java
return false; } public boolean isGroovyObject() { if ((bits & GroovyObjectInitialized) == 0) { ResolvedType[] intfaces = getDeclaredInterfaces(); boolean done = false; if (intfaces != null) { for (ResolvedType intface : intfaces) { if (intface.getName().equals("groovy.lang.GroovyObject...
374,745
Bug 374745 Performance regression in 1.6.12
null
resolved fixed
549d227
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2012-03-23T23:57:10Z
2012-03-20T10:40:00Z
org.aspectj.matcher/src/org/aspectj/weaver/TypeFactory.java
/* ******************************************************************* * Copyright (c) 2005-2010 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 ...
374,745
Bug 374745 Performance regression in 1.6.12
null
resolved fixed
549d227
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2012-03-23T23:57:10Z
2012-03-20T10:40:00Z
org.aspectj.matcher/src/org/aspectj/weaver/TypeFactory.java
* @param aGenericType * @param someTypeParameters note, in the case of an inner type of a parameterized type, this parameter may legitimately be null * @param inAWorld * @return */ public static ReferenceType createParameterizedType(ResolvedType aBaseType, UnresolvedType[] someTypeParameters, World inAWorld) {...
374,745
Bug 374745 Performance regression in 1.6.12
null
resolved fixed
549d227
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2012-03-23T23:57:10Z
2012-03-20T10:40:00Z
org.aspectj.matcher/src/org/aspectj/weaver/TypeFactory.java
/** * Creates a sensible unresolvedtype from some signature, for example: signature = LIGuard<TT;>; bound = toString=IGuard<T> * sig=PIGuard<TT;>; sigErasure=LIGuard; kind=parameterized */ static UnresolvedType convertSigToType(String aSignature) { UnresolvedType bound = null; int startOfParams = aSignature....
374,745
Bug 374745 Performance regression in 1.6.12
null
resolved fixed
549d227
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2012-03-23T23:57:10Z
2012-03-20T10:40:00Z
org.aspectj.matcher/src/org/aspectj/weaver/TypeFactory.java
* Used by UnresolvedType.read, creates a type from a full signature. */ public static UnresolvedType createTypeFromSignature(String signature) { char firstChar = signature.charAt(0); if (firstChar == 'P') { int startOfParams = signature.indexOf('<'); if (startOfParams == -1) { ...
374,745
Bug 374745 Performance regression in 1.6.12
null
resolved fixed
549d227
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2012-03-23T23:57:10Z
2012-03-20T10:40:00Z
org.aspectj.matcher/src/org/aspectj/weaver/TypeFactory.java
String lastType = null; int nestedTypePosition = signature.indexOf("$", endOfParams); if (nestedTypePosition != -1) { lastType = signature.substring(nestedTypePosition + 1); } else { lastType = new String(signature); } startOfParams = lastType.indexOf("<"); UnresolvedType[] typeParams...
374,745
Bug 374745 Performance regression in 1.6.12
null
resolved fixed
549d227
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2012-03-23T23:57:10Z
2012-03-20T10:40:00Z
org.aspectj.matcher/src/org/aspectj/weaver/TypeFactory.java
UnresolvedType upperBound = convertSigToType(signature.substring(1)); WildcardedUnresolvedType wildcardedUT = new WildcardedUnresolvedType(signature, upperBound, null); return wildcardedUT; } else if (firstChar == '-') { UnresolvedType lowerBound = convertSigToType(signature.substring(1)); WildcardedU...
374,745
Bug 374745 Performance regression in 1.6.12
null
resolved fixed
549d227
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2012-03-23T23:57:10Z
2012-03-20T10:40:00Z
org.aspectj.matcher/src/org/aspectj/weaver/TypeFactory.java
return UnresolvedType.CHAR; case 'D': return UnresolvedType.DOUBLE; case 'F': return UnresolvedType.FLOAT; case 'I': return UnresolvedType.INT; case 'J': return UnresolvedType.LONG; case 'S': return UnresolvedType.SHORT; } } else if (firstChar == '@') { return ResolvedType...
374,745
Bug 374745 Performance regression in 1.6.12
null
resolved fixed
549d227
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2012-03-23T23:57:10Z
2012-03-20T10:40:00Z
org.aspectj.matcher/src/org/aspectj/weaver/TypeFactory.java
} String signatureErasure = erasureSig.toString(); String lastType = null; int nestedTypePosition = signature.indexOf("$", endOfParams); if (nestedTypePosition != -1) { lastType = signature.substring(nestedTypePosition + 1); } else { lastType = new String(signature); } ...
374,745
Bug 374745 Performance regression in 1.6.12
null
resolved fixed
549d227
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2012-03-23T23:57:10Z
2012-03-20T10:40:00Z
org.aspectj.matcher/src/org/aspectj/weaver/TypeFactory.java
return new UnresolvedType(signature); } private static int locateMatchingEndAngleBracket(CharSequence signature, int startOfParams) { if (startOfParams == -1) { return -1; } int count = 1; int idx = startOfParams; int max = signature.length(); while (idx < max) { char ch = signature.charAt(++idx); ...
374,745
Bug 374745 Performance regression in 1.6.12
null
resolved fixed
549d227
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2012-03-23T23:57:10Z
2012-03-20T10:40:00Z
org.aspectj.matcher/src/org/aspectj/weaver/TypeFactory.java
} return -1; } private static UnresolvedType[] createTypeParams(String typeParameterSpecification) { String remainingToProcess = typeParameterSpecification; List<UnresolvedType> types = new ArrayList<UnresolvedType>(); while (remainingToProcess.length() != 0) { int endOfSig = 0; int anglies = 0; bool...
374,745
Bug 374745 Performance regression in 1.6.12
null
resolved fixed
549d227
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2012-03-23T23:57:10Z
2012-03-20T10:40:00Z
org.aspectj.matcher/src/org/aspectj/weaver/TypeFactory.java
sigFound=true; } } } break; case '[': if (anglies == 0) { int nextChar = endOfSig + 1; while (remainingToProcess.charAt(nextChar) == '[') { nextChar++; } if ("BCDFIJSZ".indexOf(remainingToProcess.charAt(nextChar)) != -1) { sigFound = t...
374,745
Bug 374745 Performance regression in 1.6.12
null
resolved fixed
549d227
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2012-03-23T23:57:10Z
2012-03-20T10:40:00Z
org.aspectj.matcher/src/org/aspectj/weaver/TypeFactory.java
forProcessing = "P" + forProcessing.substring(1); } types.add(createTypeFromSignature(forProcessing)); remainingToProcess = remainingToProcess.substring(endOfSig); } UnresolvedType[] typeParams = new UnresolvedType[types.size()]; types.toArray(typeParams); return typeParams; } /** * Create a sign...
374,745
Bug 374745 Performance regression in 1.6.12
null
resolved fixed
549d227
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2012-03-23T23:57:10Z
2012-03-20T10:40:00Z
org.aspectj.matcher/src/org/aspectj/weaver/TypeVariableReferenceType.java
/* ******************************************************************* * Copyright (c) 2005-2010 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 ...
374,745
Bug 374745 Performance regression in 1.6.12
null
resolved fixed
549d227
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2012-03-23T23:57:10Z
2012-03-20T10:40:00Z
org.aspectj.matcher/src/org/aspectj/weaver/TypeVariableReferenceType.java
private TypeVariable typeVariable; boolean fixedUp = false; public TypeVariableReferenceType(TypeVariable typeVariable, World world) { super(typeVariable.getGenericSignature(), typeVariable.getErasureSignature(), world); this.typeVariable = typeVariable; } /** * For a TypeVariableReferenceTyp...
374,745
Bug 374745 Performance regression in 1.6.12
null
resolved fixed
549d227
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2012-03-23T23:57:10Z
2012-03-20T10:40:00Z
org.aspectj.matcher/src/org/aspectj/weaver/TypeVariableReferenceType.java
getSourceLocation()); } else { brtd = new BoundedReferenceTypeDelegate((ReferenceType) resolvedFirstBound); setDelegate(brtd); } } return this.delegate; } @Override public UnresolvedType parameterize(Map<String, UnresolvedType> typeBindings) { UnresolvedType ut = typeBindings.get(getName()); if...
374,745
Bug 374745 Performance regression in 1.6.12
null
resolved fixed
549d227
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2012-03-23T23:57:10Z
2012-03-20T10:40:00Z
org.aspectj.matcher/src/org/aspectj/weaver/TypeVariableReferenceType.java
public boolean isGenericWildcard() { return false; } @Override public boolean isAnnotation() { ReferenceType upper = (ReferenceType) typeVariable.getUpperBound(); if (upper.isAnnotation()) { return true; } World world = upper.getWorld(); typeVariable.resolve(world); ResolvedType annotationType = Res...
374,745
Bug 374745 Performance regression in 1.6.12
null
resolved fixed
549d227
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2012-03-23T23:57:10Z
2012-03-20T10:40:00Z
org.aspectj.matcher/src/org/aspectj/weaver/TypeVariableReferenceType.java
sb.append("T"); sb.append(typeVariable.getName()); sb.append(";"); return sb.toString(); } /** * @return the name of the type variable */ public String getTypeVariableName() { return typeVariable.getName(); } public ReferenceType getUpperBound() { return (ReferenceType) typeVariable.resolve(world).ge...
374,745
Bug 374745 Performance regression in 1.6.12
null
resolved fixed
549d227
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2012-03-23T23:57:10Z
2012-03-20T10:40:00Z
org.aspectj.matcher/src/org/aspectj/weaver/UnresolvedType.java
/* ******************************************************************* * Copyright (c) 2002,2005 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 *...
374,745
Bug 374745 Performance regression in 1.6.12
null
resolved fixed
549d227
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2012-03-23T23:57:10Z
2012-03-20T10:40:00Z
org.aspectj.matcher/src/org/aspectj/weaver/UnresolvedType.java
import java.io.DataInputStream; import java.io.IOException; import java.util.Map; import org.aspectj.util.GenericSignature; import org.aspectj.util.GenericSignature.ClassSignature; import org.aspectj.util.GenericSignatureParser; import org.aspectj.weaver.tools.Traceable; /** * A UnresolvedType represents a type to the...
374,745
Bug 374745 Performance regression in 1.6.12
null
resolved fixed
549d227
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2012-03-23T23:57:10Z
2012-03-20T10:40:00Z
org.aspectj.matcher/src/org/aspectj/weaver/UnresolvedType.java
public static final UnresolvedType JL_CLASS = forSignature("Ljava/lang/Class;"); public static final UnresolvedType JAVA_LANG_CLASS_ARRAY = forSignature("[Ljava/lang/Class;"); public static final UnresolvedType JL_STRING = forSignature("Ljava/lang/String;"); public static final UnresolvedType JL_EXCEPTION = forSigna...
374,745
Bug 374745 Performance regression in 1.6.12
null
resolved fixed
549d227
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2012-03-23T23:57:10Z
2012-03-20T10:40:00Z
org.aspectj.matcher/src/org/aspectj/weaver/UnresolvedType.java
/** * The erasure of the signature. Contains only the Java signature of the type with all supertype, superinterface, type variable, * and parameter information removed. */ protected String signatureErasure; /** * Calculated on first request - the package name (java.lang for type java.lang.String) */ privat...
374,745
Bug 374745 Performance regression in 1.6.12
null
resolved fixed
549d227
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2012-03-23T23:57:10Z
2012-03-20T10:40:00Z
org.aspectj.matcher/src/org/aspectj/weaver/UnresolvedType.java
public boolean isSimpleType() { return typeKind == TypeKind.SIMPLE; } public boolean isRawType() { return typeKind == TypeKind.RAW; } public boolean isGenericType() { return typeKind == TypeKind.GENERIC; } public boolean isParameterizedType() { return typeKind == TypeKind.PARAMETERIZED; } public boolean...
374,745
Bug 374745 Performance regression in 1.6.12
null
resolved fixed
549d227
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2012-03-23T23:57:10Z
2012-03-20T10:40:00Z
org.aspectj.matcher/src/org/aspectj/weaver/UnresolvedType.java
} /** * Equality is checked based on the underlying signature. */ @Override public boolean equals(Object other) { if (!(other instanceof UnresolvedType)) { return false; } return signature.equals(((UnresolvedType) other).signature); } /** * Equality is checked based on the underlying signature, so t...
374,745
Bug 374745 Performance regression in 1.6.12
null
resolved fixed
549d227
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2012-03-23T23:57:10Z
2012-03-20T10:40:00Z
org.aspectj.matcher/src/org/aspectj/weaver/UnresolvedType.java
this.signatureErasure = signatureErasure; this.typeParameters = typeParams; if (typeParams != null) { this.typeKind = TypeKind.PARAMETERIZED; } } /** * This is the size of this type as used in JVM. */ public int getSize() { return size; } private int size = 1; /** * NOTE: Use forSignature() if ...
374,745
Bug 374745 Performance regression in 1.6.12
null
resolved fixed
549d227
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2012-03-23T23:57:10Z
2012-03-20T10:40:00Z
org.aspectj.matcher/src/org/aspectj/weaver/UnresolvedType.java
* * <pre> * UnresolvedType.forName(&quot;java.lang.Thread[]&quot;).equals(Type.forSignature(&quot;[Ljava/lang/Thread;&quot;) * UnresolvedType.forName(&quot;int&quot;).equals(Type.forSignature(&quot;I&quot;)) * </pre> * * </blockquote> * * @param name the java language type name in question. * @...
374,745
Bug 374745 Performance regression in 1.6.12
null
resolved fixed
549d227
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2012-03-23T23:57:10Z
2012-03-20T10:40:00Z
org.aspectj.matcher/src/org/aspectj/weaver/UnresolvedType.java
String sig = nameToSignature(name); UnresolvedType ret = UnresolvedType.forSignature(sig); ret.typeKind = TypeKind.GENERIC; ret.typeVariables = tvbs; ret.signatureErasure = sig; return ret; } public static UnresolvedType forGenericTypeSignature(String sig, String declaredGenericSig) { UnresolvedType ret =...
374,745
Bug 374745 Performance regression in 1.6.12
null
resolved fixed
549d227
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2012-03-23T23:57:10Z
2012-03-20T10:40:00Z
org.aspectj.matcher/src/org/aspectj/weaver/UnresolvedType.java
} ret.signatureErasure = sig; ret.signature = ret.signatureErasure; return ret; } public static UnresolvedType forGenericTypeVariables(String sig, TypeVariable[] tVars) { UnresolvedType ret = UnresolvedType.forSignature(sig); ret.typeKind = TypeKind.GENERIC; ret.typeVariables = tVars; ret.signatureErasu...
374,745
Bug 374745 Performance regression in 1.6.12
null
resolved fixed
549d227
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2012-03-23T23:57:10Z
2012-03-20T10:40:00Z
org.aspectj.matcher/src/org/aspectj/weaver/UnresolvedType.java
* * @param types the left hand side of the new array * @param end the right hand side of the new array */ public static UnresolvedType[] add(UnresolvedType[] types, UnresolvedType end) { int len = types.length; UnresolvedType[] ret = new UnresolvedType[len + 1]; System.arraycopy(types, 0, ret, 0, len); ...
374,745
Bug 374745 Performance regression in 1.6.12
null
resolved fixed
549d227
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2012-03-23T23:57:10Z
2012-03-20T10:40:00Z
org.aspectj.matcher/src/org/aspectj/weaver/UnresolvedType.java
* <pre> * UnresolvedType.forSignature(&quot;[Ljava/lang/Thread;&quot;) * UnresolvedType.forSignature(&quot;I&quot;); * </pre> * * </blockquote> * * Types may equivalently be produced by this or by {@link #forName(String)}. This method should not be passed P signatures. * * <blockquote> * *...
374,745
Bug 374745 Performance regression in 1.6.12
null
resolved fixed
549d227
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2012-03-23T23:57:10Z
2012-03-20T10:40:00Z
org.aspectj.matcher/src/org/aspectj/weaver/UnresolvedType.java
case 'F': return UnresolvedType.FLOAT; case 'I': return UnresolvedType.INT; case 'J': return UnresolvedType.LONG; case 'L': return TypeFactory.createTypeFromSignature(signature); case 'P': return TypeFactory.createTypeFromSignature(signature); case 'S': return UnresolvedType.SHORT; case 'V...
374,745
Bug 374745 Performance regression in 1.6.12
null
resolved fixed
549d227
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2012-03-23T23:57:10Z
2012-03-20T10:40:00Z
org.aspectj.matcher/src/org/aspectj/weaver/UnresolvedType.java
/** * Constructs a UnresolvedType for each JVM bytecode type signature in an incoming array. * * @param names an array of JVM bytecode type signatures * @return an array of UnresolvedType objects. * @see #forSignature(String) */ public static UnresolvedType[] forSignatures(String[] sigs) { UnresolvedTyp...
374,745
Bug 374745 Performance regression in 1.6.12
null
resolved fixed
549d227
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2012-03-23T23:57:10Z
2012-03-20T10:40:00Z
org.aspectj.matcher/src/org/aspectj/weaver/UnresolvedType.java
StringBuffer sb = new StringBuffer(name); sb.append("<"); for (int i = 0; i < (typeParameters.length - 1); i++) { sb.append(typeParameters[i].getSimpleName()); sb.append(","); } sb.append(typeParameters[typeParameters.length - 1].getSimpleName()); sb.append(">"); name = sb.toString(); } re...
374,745
Bug 374745 Performance regression in 1.6.12
null
resolved fixed
549d227
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2012-03-23T23:57:10Z
2012-03-20T10:40:00Z
org.aspectj.matcher/src/org/aspectj/weaver/UnresolvedType.java
if (lastDot != -1) { name = name.substring(lastDot + 1); } return name; } /** * Returns an array of strings representing the java langauge names of an array of types. * * @param types an array of UnresolvedType objects * @return an array of Strings fo the java language names of types. * @see #getNam...
374,745
Bug 374745 Performance regression in 1.6.12
null
resolved fixed
549d227
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2012-03-23T23:57:10Z
2012-03-20T10:40:00Z
org.aspectj.matcher/src/org/aspectj/weaver/UnresolvedType.java
* and for all String s where s is a lexically valid JVM type signature string: * * <blockquote> * * <pre> * UnresolvedType.forSignature(s).getSignature().equals(s) * </pre> * * </blockquote> * * @return the java JVM signature string for this type. */ public String getSignature() { return si...
374,745
Bug 374745 Performance regression in 1.6.12
null
resolved fixed
549d227
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2012-03-23T23:57:10Z
2012-03-20T10:40:00Z
org.aspectj.matcher/src/org/aspectj/weaver/UnresolvedType.java
} public UnresolvedType getRawType() { return UnresolvedType.forSignature(getErasureSignature()); } /** * Returns a UnresolvedType object representing the effective outermost enclosing type for a name type. For all other types, * this will return the type itself. * * The only guarantee is given in JLS 13....
374,745
Bug 374745 Performance regression in 1.6.12
null
resolved fixed
549d227
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2012-03-23T23:57:10Z
2012-03-20T10:40:00Z
org.aspectj.matcher/src/org/aspectj/weaver/UnresolvedType.java
*/ public UnresolvedType getComponentType() { if (isArray()) { return forSignature(signature.substring(1)); } else { return null; } } /** * Returns a java language string representation of this type. */ @Override public String toString() { return getName(); } public String toDebugString() { ...
374,745
Bug 374745 Performance regression in 1.6.12
null
resolved fixed
549d227
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2012-03-23T23:57:10Z
2012-03-20T10:40:00Z
org.aspectj.matcher/src/org/aspectj/weaver/UnresolvedType.java
switch (signature.charAt(0)) { case 'B': return "byte"; case 'C': return "char"; case 'D': return "double"; case 'F': return "float"; case 'I': return "int"; case 'J': return "long"; case 'L': String name = signature.substring(1, signature.length() - 1).replace('/', '.'); return na...
374,745
Bug 374745 Performance regression in 1.6.12
null
resolved fixed
549d227
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2012-03-23T23:57:10Z
2012-03-20T10:40:00Z
org.aspectj.matcher/src/org/aspectj/weaver/UnresolvedType.java
switch (c) { case '/': nameBuff.append('.'); break; case '<': nameBuff.append("<"); paramNestLevel++; StringBuffer innerBuff = new StringBuffer(); while (paramNestLevel > 0) { c = signature.charAt(++i); if (c == '<') { paramNestLevel++; } if (c == '>'...
374,745
Bug 374745 Performance regression in 1.6.12
null
resolved fixed
549d227
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2012-03-23T23:57:10Z
2012-03-20T10:40:00Z
org.aspectj.matcher/src/org/aspectj/weaver/UnresolvedType.java
break; default: nameBuff.append(c); } } return nameBuff.toString(); case 'S': return "short"; case 'V': return "void"; case 'Z': return "boolean"; case '[': return signatureToName(signature.substring(1, signature.length())) + "[]"; case '+': return "? extends " + ...
374,745
Bug 374745 Performance regression in 1.6.12
null
resolved fixed
549d227
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2012-03-23T23:57:10Z
2012-03-20T10:40:00Z
org.aspectj.matcher/src/org/aspectj/weaver/UnresolvedType.java
if (name.equals("byte")) { return "B"; } if (name.equals("char")) { return "C"; } if (name.equals("double")) { return "D"; } if (name.equals("float")) { return "F"; } if (name.equals("int")) { return "I"; } if (name.equals("long")) { return "J"; } if (name.equ...
374,745
Bug 374745 Performance regression in 1.6.12
null
resolved fixed
549d227
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2012-03-23T23:57:10Z
2012-03-20T10:40:00Z
org.aspectj.matcher/src/org/aspectj/weaver/UnresolvedType.java
} if (name.endsWith("[]")) { return "[" + nameToSignature(name.substring(0, name.length() - 2)); } if (len == 0) { throw new BCException("Bad type name: " + name); } if (name.indexOf("<") == -1) { return new StringBuilder("L").append(name.replace('.', '/')).append(';').toString(); } else { ...
374,745
Bug 374745 Performance regression in 1.6.12
null
resolved fixed
549d227
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2012-03-23T23:57:10Z
2012-03-20T10:40:00Z
org.aspectj.matcher/src/org/aspectj/weaver/UnresolvedType.java
nestLevel--; } if (c == ',' && nestLevel == 1) { nameBuff.append(nameToSignature(innerBuff.toString())); innerBuff = new StringBuffer(); } else { if (nestLevel > 0) { innerBuff.append(c); } } } nameBuff.append(nameToSignature(innerBuff.toString())); ...
374,745
Bug 374745 Performance regression in 1.6.12
null
resolved fixed
549d227
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2012-03-23T23:57:10Z
2012-03-20T10:40:00Z
org.aspectj.matcher/src/org/aspectj/weaver/UnresolvedType.java
*/ public static UnresolvedType read(DataInputStream s) throws IOException { String sig = s.readUTF(); if (sig.equals(MISSING_NAME)) { return ResolvedType.MISSING; } else { return UnresolvedType.forSignature(sig); } } public String getNameAsIdentifier() { return getName().replace('.', '_'); ...
374,745
Bug 374745 Performance regression in 1.6.12
null
resolved fixed
549d227
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2012-03-23T23:57:10Z
2012-03-20T10:40:00Z
org.aspectj.matcher/src/org/aspectj/weaver/UnresolvedType.java
public final static TypeKind PRIMITIVE = new TypeKind("primitive"); public final static TypeKind SIMPLE = new TypeKind("simple"); public final static TypeKind RAW = new TypeKind("raw"); public final static TypeKind GENERIC = new TypeKind("generic"); public final static TypeKind PARAMETERIZED = new TypeKind("...
374,745
Bug 374745 Performance regression in 1.6.12
null
resolved fixed
549d227
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2012-03-23T23:57:10Z
2012-03-20T10:40:00Z
org.aspectj.matcher/src/org/aspectj/weaver/UnresolvedType.java
} public TypeVariable getTypeVariableNamed(String name) { TypeVariable[] vars = getTypeVariables(); if (vars == null || vars.length == 0) { return null; } for (int i = 0; i < vars.length; i++) { TypeVariable aVar = vars[i]; if (aVar.getName().equals(name)) { return aVar; } } return null; }...
374,745
Bug 374745 Performance regression in 1.6.12
null
resolved fixed
549d227
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2012-03-23T23:57:10Z
2012-03-20T10:40:00Z
org.aspectj.matcher/src/org/aspectj/weaver/UnresolvedType.java
String name = getName(); if (name.indexOf("<") != -1) { name = name.substring(0, name.indexOf("<")); } int index = name.lastIndexOf('.'); if (index == -1) { className = name; } else { className = name.substring(index + 1); } } return className; } /** * @return the package name (no ...
374,745
Bug 374745 Performance regression in 1.6.12
null
resolved fixed
549d227
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2012-03-23T23:57:10Z
2012-03-20T10:40:00Z
org.aspectj.matcher/src/org/aspectj/weaver/UnresolvedType.java
} public static void writeArray(UnresolvedType[] types, CompressingDataOutputStream stream) throws IOException { int len = types.length; stream.writeShort(len); for (UnresolvedType type : types) { type.write(stream); } } public static UnresolvedType[] readArray(DataInputStream s) throws IOException { ...
374,745
Bug 374745 Performance regression in 1.6.12
null
resolved fixed
549d227
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2012-03-23T23:57:10Z
2012-03-20T10:40:00Z
org.aspectj.matcher/src/org/aspectj/weaver/UnresolvedTypeVariableReferenceType.java
/* ******************************************************************* * Copyright (c) 2005-2010 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 *...
374,745
Bug 374745 Performance regression in 1.6.12
null
resolved fixed
549d227
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2012-03-23T23:57:10Z
2012-03-20T10:40:00Z
org.aspectj.matcher/src/org/aspectj/weaver/UnresolvedTypeVariableReferenceType.java
public UnresolvedTypeVariableReferenceType(TypeVariable aTypeVariable) { super("T" + aTypeVariable.getName() + ";", aTypeVariable.getFirstBound().getErasureSignature()); this.typeVariable = aTypeVariable; } public void setTypeVariable(TypeVariable aTypeVariable) { this.signature = "T" + aTypeVariable.getName(...
374,745
Bug 374745 Performance regression in 1.6.12
null
resolved fixed
549d227
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2012-03-23T23:57:10Z
2012-03-20T10:40:00Z
org.aspectj.matcher/src/org/aspectj/weaver/UnresolvedTypeVariableReferenceType.java
tvrt = new TypeVariableReferenceType(resolvedTypeVariable, world); tvrt.fixedUp = foundOK; } return tvrt; } @Override public boolean isTypeVariableReference() { return true; } public TypeVariable getTypeVariable() { return typeVariable; } @Override public String toString() { if (typeVariable == nul...
374,745
Bug 374745 Performance regression in 1.6.12
null
resolved fixed
549d227
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2012-03-23T23:57:10Z
2012-03-20T10:40:00Z
org.aspectj.matcher/src/org/aspectj/weaver/World.java
/* ******************************************************************* * Copyright (c) 2002 Palo Alto Research Center, Incorporated (PARC). * 2005 Contributors * All rights reserved. * This program and the accompanying materials are made available * under the terms of the Eclipse Public License v1....
374,745
Bug 374745 Performance regression in 1.6.12
null
resolved fixed
549d227
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2012-03-23T23:57:10Z
2012-03-20T10:40:00Z
org.aspectj.matcher/src/org/aspectj/weaver/World.java
import java.util.List; import java.util.Map; import java.util.Properties; import java.util.Set; import java.util.WeakHashMap; import org.aspectj.bridge.IMessage; import org.aspectj.bridge.IMessage.Kind; import org.aspectj.bridge.IMessageHandler; import org.aspectj.bridge.ISourceLocation; import org.aspectj.bridge.Messa...