|
|
|
|
|
|
|
|
* Contributors: |
|
|
* Contributors: |
|
|
* Matthew Webster, Adrian Colyer, |
|
|
* Matthew Webster, Adrian Colyer, |
|
|
* Martin Lippert initial implementation |
|
|
* Martin Lippert initial implementation |
|
|
|
|
|
* Andy Clement |
|
|
|
|
|
* Roy Varghese - Bug 473555 |
|
|
* ******************************************************************/ |
|
|
* ******************************************************************/ |
|
|
|
|
|
|
|
|
package org.aspectj.weaver.bcel; |
|
|
package org.aspectj.weaver.bcel; |
|
|
|
|
|
|
|
|
int offset = className.lastIndexOf('.'); |
|
|
int offset = className.lastIndexOf('.'); |
|
|
return (offset == -1) ? null : className.substring(0, offset); |
|
|
return (offset == -1) ? null : className.substring(0, offset); |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
@Override |
|
|
|
|
|
public void close() throws IOException { |
|
|
|
|
|
super.close(); |
|
|
|
|
|
classPath.closeArchives(); |
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
} |
|
|
} |