public PackageRef getPackageRef(String binaryPackName) { if (binaryPackName.indexOf('.') >= 0) { binaryPackName = binaryPackName.replace('.', '/'); } PackageRef ref = packageCache.get(binaryPackName); if (ref != null) return ref; ref = new PackageRef(binaryPackName); packageCache.put(binaryPackName, ref); return ref; }
public PackageRef getPackageRef(String binaryPackName) { if (binaryPackName.indexOf('.') >= 0) { binaryPackName = binaryPackName.replace('.', '/'); } PackageRef ref = packageCache.get(binaryPackName); if (ref != null) return ref; // // Check here if a package is actually a nested class // com.example.Foo.Bar should have package com.example, // not com.example.Foo. // ref = new PackageRef(binaryPackName); packageCache.put(binaryPackName, ref); return ref; }
public PackageRef getPackageRef(String binaryPackName) { if (binaryPackName.indexOf('.') >= 0) { binaryPackName = binaryPackName.replace('.', '/'); } PackageRef ref = packageCache.get(binaryPackName); if (ref != null) return ref; // // Check here if a package is actually a nested class // com.example.Foo.Bar should have package com.example, // not com.example.Foo. // ref = new PackageRef(binaryPackName); packageCache.put(binaryPackName, ref); return ref; }
public PackageRef getDuplicate() { return new PackageRef(binaryName + Constants.DUPLICATE_MARKER); }
public PackageRef getDuplicate() { return new PackageRef(binaryName + Constants.DUPLICATE_MARKER); }
public PackageRef getDuplicate() { return new PackageRef(binaryName + Constants.DUPLICATE_MARKER); }
public PackageRef getDuplicate() { return new PackageRef(binaryName + Constants.DUPLICATE_MARKER); }
public PackageRef getDuplicate() { return new PackageRef(binaryName + Constants.DUPLICATE_MARKER); }