Skip to content
Permalink
Browse files

Move Jdt specific code to frontend/jdt.

PiperOrigin-RevId: 245362342
  • Loading branch information...
rluble authored and Copybara-Service committed Apr 26, 2019
1 parent 5ab0846 commit fa1d02b93db663b01738ee02076415d82a26b7a6
@@ -17,7 +17,7 @@ java_library(
"//third_party:guava",
"//third_party:jdt-core",
"//transpiler/java/com/google/j2cl/common",
"//transpiler/java/com/google/j2cl/frontend",
"//transpiler/java/com/google/j2cl/frontend/jdt",
],
)

@@ -24,7 +24,7 @@
import com.google.j2cl.common.J2clUtils;
import com.google.j2cl.common.Problems;
import com.google.j2cl.common.Problems.FatalError;
import com.google.j2cl.frontend.GwtIncompatibleNodeCollector;
import com.google.j2cl.frontend.jdt.GwtIncompatibleNodeCollector;
import java.io.IOException;
import java.nio.charset.StandardCharsets;
import java.nio.file.Path;
@@ -6,7 +6,7 @@ package(default_visibility = [
licenses(["notice"]) # Apache 2.0

java_library(
name = "frontend",
name = "jdt",
srcs = glob(["*.java"]),
deps = [
"//third_party:auto_value",
@@ -13,7 +13,7 @@
* License for the specific language governing permissions and limitations under
* the License.
*/
package com.google.j2cl.frontend;
package com.google.j2cl.frontend.jdt;

import static com.google.common.base.Preconditions.checkArgument;
import static com.google.common.base.Preconditions.checkNotNull;
@@ -14,7 +14,7 @@
* the License.
*/

package com.google.j2cl.frontend;
package com.google.j2cl.frontend.jdt;

import java.util.Map;
import org.eclipse.jdt.core.dom.CompilationUnit;
@@ -13,7 +13,7 @@
* License for the specific language governing permissions and limitations under
* the License.
*/
package com.google.j2cl.frontend;
package com.google.j2cl.frontend.jdt;

import static com.google.common.base.Preconditions.checkArgument;
import static com.google.common.collect.ImmutableList.toImmutableList;
@@ -13,7 +13,7 @@
* License for the specific language governing permissions and limitations under
* the License.
*/
package com.google.j2cl.frontend;
package com.google.j2cl.frontend.jdt;

import java.util.ArrayList;
import java.util.List;
@@ -13,7 +13,7 @@
* License for the specific language governing permissions and limitations under
* the License.
*/
package com.google.j2cl.frontend;
package com.google.j2cl.frontend.jdt;

import org.eclipse.jdt.core.dom.IAnnotationBinding;
import org.eclipse.jdt.core.dom.IBinding;
@@ -13,7 +13,7 @@
* License for the specific language governing permissions and limitations under
* the License.
*/
package com.google.j2cl.frontend;
package com.google.j2cl.frontend.jdt;

import com.google.common.collect.ImmutableList;
import com.google.common.collect.Iterables;
@@ -13,7 +13,7 @@
* License for the specific language governing permissions and limitations under
* the License.
*/
package com.google.j2cl.frontend;
package com.google.j2cl.frontend.jdt;

import static com.google.common.base.Preconditions.checkArgument;
import static com.google.common.base.Preconditions.checkState;
@@ -13,7 +13,7 @@
* License for the specific language governing permissions and limitations under
* the License.
*/
package com.google.j2cl.frontend;
package com.google.j2cl.frontend.jdt;

import java.util.Arrays;
import java.util.Optional;
@@ -13,7 +13,7 @@
* License for the specific language governing permissions and limitations under
* the License.
*/
package com.google.j2cl.frontend;
package com.google.j2cl.frontend.jdt;

import com.google.j2cl.ast.JsEnumInfo;
import com.google.j2cl.ast.JsInfo;
@@ -13,7 +13,7 @@
* License for the specific language governing permissions and limitations under
* the License.
*/
package com.google.j2cl.frontend;
package com.google.j2cl.frontend.jdt;

import static com.google.common.base.Preconditions.checkNotNull;
import static com.google.common.base.Preconditions.checkState;
@@ -12,7 +12,7 @@ java_library(
"//third_party:jsr305_annotations",
"//transpiler/java/com/google/j2cl/ast",
"//transpiler/java/com/google/j2cl/common",
"//transpiler/java/com/google/j2cl/frontend",
"//transpiler/java/com/google/j2cl/frontend/jdt",
"//transpiler/java/com/google/j2cl/libraryinfo",
],
)
@@ -12,7 +12,7 @@ java_library(
"//transpiler/java/com/google/j2cl/ast",
"//transpiler/java/com/google/j2cl/ast/visitors",
"//transpiler/java/com/google/j2cl/common",
"//transpiler/java/com/google/j2cl/frontend",
"//transpiler/java/com/google/j2cl/frontend/jdt",
"//transpiler/java/com/google/j2cl/generator",
],
)
@@ -27,7 +27,7 @@ java_library(
"//third_party:auto_value",
"//third_party:guava",
"//transpiler/java/com/google/j2cl/common",
"//transpiler/java/com/google/j2cl/frontend",
"//transpiler/java/com/google/j2cl/frontend/jdt",
],
)

@@ -51,7 +51,7 @@ java_library(
"//third_party:guava",
"//transpiler/java/com/google/j2cl/bazel",
"//transpiler/java/com/google/j2cl/common",
"//transpiler/java/com/google/j2cl/frontend",
"//transpiler/java/com/google/j2cl/frontend/jdt",
],
)

@@ -86,10 +86,10 @@
import com.google.j2cl.ast.visitors.VerifyVariableScoping;
import com.google.j2cl.common.Problems;
import com.google.j2cl.common.Problems.FatalError;
import com.google.j2cl.frontend.CompilationUnitBuilder;
import com.google.j2cl.frontend.CompilationUnitsAndTypeBindings;
import com.google.j2cl.frontend.JdtParser;
import com.google.j2cl.frontend.PackageInfoCache;
import com.google.j2cl.frontend.jdt.CompilationUnitBuilder;
import com.google.j2cl.frontend.jdt.CompilationUnitsAndTypeBindings;
import com.google.j2cl.frontend.jdt.JdtParser;
import com.google.j2cl.frontend.jdt.PackageInfoCache;
import com.google.j2cl.generator.OutputGeneratorStage;
import java.io.IOException;
import java.nio.file.FileSystem;

0 comments on commit fa1d02b

Please sign in to comment.
You can’t perform that action at this time.