add copyright messages
git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@3169 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
This commit is contained in:
parent
624fb4c5ae
commit
2b2cb065cb
|
@ -1,3 +1,13 @@
|
||||||
|
/******************************************************************************
|
||||||
|
* Copyright (c) 2002 - 2008 IBM Corporation.
|
||||||
|
* 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://www.eclipse.org/legal/epl-v10.html
|
||||||
|
*
|
||||||
|
* Contributors:
|
||||||
|
* IBM Corporation - initial API and implementation
|
||||||
|
*****************************************************************************/
|
||||||
public class AnonymousClass {
|
public class AnonymousClass {
|
||||||
private interface Foo {
|
private interface Foo {
|
||||||
public int getValue();
|
public int getValue();
|
||||||
|
|
|
@ -1,3 +1,13 @@
|
||||||
|
/******************************************************************************
|
||||||
|
* Copyright (c) 2002 - 2008 IBM Corporation.
|
||||||
|
* 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://www.eclipse.org/legal/epl-v10.html
|
||||||
|
*
|
||||||
|
* Contributors:
|
||||||
|
* IBM Corporation - initial API and implementation
|
||||||
|
*****************************************************************************/
|
||||||
public class Array1 {
|
public class Array1 {
|
||||||
public static void main(String[] args) {
|
public static void main(String[] args) {
|
||||||
Array1 f= new Array1();
|
Array1 f= new Array1();
|
||||||
|
|
|
@ -1,3 +1,13 @@
|
||||||
|
/******************************************************************************
|
||||||
|
* Copyright (c) 2002 - 2008 IBM Corporation.
|
||||||
|
* 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://www.eclipse.org/legal/epl-v10.html
|
||||||
|
*
|
||||||
|
* Contributors:
|
||||||
|
* IBM Corporation - initial API and implementation
|
||||||
|
*****************************************************************************/
|
||||||
public class ArrayLiteral1 {
|
public class ArrayLiteral1 {
|
||||||
public static void main(String[] args) {
|
public static void main(String[] args) {
|
||||||
ArrayLiteral1 al1= new ArrayLiteral1();
|
ArrayLiteral1 al1= new ArrayLiteral1();
|
||||||
|
|
|
@ -1,3 +1,13 @@
|
||||||
|
/******************************************************************************
|
||||||
|
* Copyright (c) 2002 - 2008 IBM Corporation.
|
||||||
|
* 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://www.eclipse.org/legal/epl-v10.html
|
||||||
|
*
|
||||||
|
* Contributors:
|
||||||
|
* IBM Corporation - initial API and implementation
|
||||||
|
*****************************************************************************/
|
||||||
public class ArrayLiteral2 {
|
public class ArrayLiteral2 {
|
||||||
public static void main(String[] args) {
|
public static void main(String[] args) {
|
||||||
ArrayLiteral2 al2= new ArrayLiteral2();
|
ArrayLiteral2 al2= new ArrayLiteral2();
|
||||||
|
|
|
@ -1,3 +1,13 @@
|
||||||
|
/******************************************************************************
|
||||||
|
* Copyright (c) 2002 - 2008 IBM Corporation.
|
||||||
|
* 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://www.eclipse.org/legal/epl-v10.html
|
||||||
|
*
|
||||||
|
* Contributors:
|
||||||
|
* IBM Corporation - initial API and implementation
|
||||||
|
*****************************************************************************/
|
||||||
public class Breaks {
|
public class Breaks {
|
||||||
|
|
||||||
private static class Ref {
|
private static class Ref {
|
||||||
|
|
|
@ -1,3 +1,13 @@
|
||||||
|
/******************************************************************************
|
||||||
|
* Copyright (c) 2002 - 2008 IBM Corporation.
|
||||||
|
* 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://www.eclipse.org/legal/epl-v10.html
|
||||||
|
*
|
||||||
|
* Contributors:
|
||||||
|
* IBM Corporation - initial API and implementation
|
||||||
|
*****************************************************************************/
|
||||||
public class CastFromNull {
|
public class CastFromNull {
|
||||||
public static void main(String args[]) {
|
public static void main(String args[]) {
|
||||||
new CastFromNull();
|
new CastFromNull();
|
||||||
|
|
|
@ -1,3 +1,13 @@
|
||||||
|
/******************************************************************************
|
||||||
|
* Copyright (c) 2002 - 2008 IBM Corporation.
|
||||||
|
* 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://www.eclipse.org/legal/epl-v10.html
|
||||||
|
*
|
||||||
|
* Contributors:
|
||||||
|
* IBM Corporation - initial API and implementation
|
||||||
|
*****************************************************************************/
|
||||||
public class Casts {
|
public class Casts {
|
||||||
|
|
||||||
public static void main(String[] args) {
|
public static void main(String[] args) {
|
||||||
|
|
|
@ -1,3 +1,13 @@
|
||||||
|
/******************************************************************************
|
||||||
|
* Copyright (c) 2002 - 2008 IBM Corporation.
|
||||||
|
* 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://www.eclipse.org/legal/epl-v10.html
|
||||||
|
*
|
||||||
|
* Contributors:
|
||||||
|
* IBM Corporation - initial API and implementation
|
||||||
|
*****************************************************************************/
|
||||||
|
|
||||||
public class DefaultConstructors {
|
public class DefaultConstructors {
|
||||||
public static void main(String args[]) {
|
public static void main(String args[]) {
|
||||||
|
|
|
@ -1,3 +1,14 @@
|
||||||
|
/******************************************************************************
|
||||||
|
* Copyright (c) 2002 - 2008 IBM Corporation.
|
||||||
|
* 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://www.eclipse.org/legal/epl-v10.html
|
||||||
|
*
|
||||||
|
* Contributors:
|
||||||
|
* IBM Corporation - initial API and implementation
|
||||||
|
*****************************************************************************/
|
||||||
|
|
||||||
public class Exception1 {
|
public class Exception1 {
|
||||||
public static void main(String[] args) {
|
public static void main(String[] args) {
|
||||||
Exception1 e1= new Exception1();
|
Exception1 e1= new Exception1();
|
||||||
|
|
|
@ -1,3 +1,13 @@
|
||||||
|
/******************************************************************************
|
||||||
|
* Copyright (c) 2002 - 2008 IBM Corporation.
|
||||||
|
* 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://www.eclipse.org/legal/epl-v10.html
|
||||||
|
*
|
||||||
|
* Contributors:
|
||||||
|
* IBM Corporation - initial API and implementation
|
||||||
|
*****************************************************************************/
|
||||||
import java.io.*;
|
import java.io.*;
|
||||||
|
|
||||||
public final class Exception2 {
|
public final class Exception2 {
|
||||||
|
|
|
@ -1,3 +1,13 @@
|
||||||
|
/******************************************************************************
|
||||||
|
* Copyright (c) 2002 - 2008 IBM Corporation.
|
||||||
|
* 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://www.eclipse.org/legal/epl-v10.html
|
||||||
|
*
|
||||||
|
* Contributors:
|
||||||
|
* IBM Corporation - initial API and implementation
|
||||||
|
*****************************************************************************/
|
||||||
public class Finally1 {
|
public class Finally1 {
|
||||||
public static void main(String[] args) throws BadLanguageExceptionF1 {
|
public static void main(String[] args) throws BadLanguageExceptionF1 {
|
||||||
Finally1 f1= new Finally1();
|
Finally1 f1= new Finally1();
|
||||||
|
|
|
@ -1,3 +1,13 @@
|
||||||
|
/******************************************************************************
|
||||||
|
* Copyright (c) 2002 - 2008 IBM Corporation.
|
||||||
|
* 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://www.eclipse.org/legal/epl-v10.html
|
||||||
|
*
|
||||||
|
* Contributors:
|
||||||
|
* IBM Corporation - initial API and implementation
|
||||||
|
*****************************************************************************/
|
||||||
import java.io.IOException;
|
import java.io.IOException;
|
||||||
|
|
||||||
public class Finally2 {
|
public class Finally2 {
|
||||||
|
|
|
@ -1,4 +1,13 @@
|
||||||
|
/******************************************************************************
|
||||||
|
* Copyright (c) 2002 - 2008 IBM Corporation.
|
||||||
|
* 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://www.eclipse.org/legal/epl-v10.html
|
||||||
|
*
|
||||||
|
* Contributors:
|
||||||
|
* IBM Corporation - initial API and implementation
|
||||||
|
*****************************************************************************/
|
||||||
|
|
||||||
public class FunkySupers {
|
public class FunkySupers {
|
||||||
int y;
|
int y;
|
||||||
|
|
|
@ -1,3 +1,13 @@
|
||||||
|
/******************************************************************************
|
||||||
|
* Copyright (c) 2002 - 2008 IBM Corporation.
|
||||||
|
* 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://www.eclipse.org/legal/epl-v10.html
|
||||||
|
*
|
||||||
|
* Contributors:
|
||||||
|
* IBM Corporation - initial API and implementation
|
||||||
|
*****************************************************************************/
|
||||||
public class Inheritance1 {
|
public class Inheritance1 {
|
||||||
public static void main(String[] args) {
|
public static void main(String[] args) {
|
||||||
Inheritance1 ih1= new Inheritance1();
|
Inheritance1 ih1= new Inheritance1();
|
||||||
|
|
|
@ -1,3 +1,13 @@
|
||||||
|
/******************************************************************************
|
||||||
|
* Copyright (c) 2002 - 2008 IBM Corporation.
|
||||||
|
* 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://www.eclipse.org/legal/epl-v10.html
|
||||||
|
*
|
||||||
|
* Contributors:
|
||||||
|
* IBM Corporation - initial API and implementation
|
||||||
|
*****************************************************************************/
|
||||||
public class InheritedField {
|
public class InheritedField {
|
||||||
public static void main(String[] args) {
|
public static void main(String[] args) {
|
||||||
InheritedField if1= new InheritedField();
|
InheritedField if1= new InheritedField();
|
||||||
|
|
|
@ -1,3 +1,13 @@
|
||||||
|
/******************************************************************************
|
||||||
|
* Copyright (c) 2002 - 2008 IBM Corporation.
|
||||||
|
* 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://www.eclipse.org/legal/epl-v10.html
|
||||||
|
*
|
||||||
|
* Contributors:
|
||||||
|
* IBM Corporation - initial API and implementation
|
||||||
|
*****************************************************************************/
|
||||||
public class InnerClass {
|
public class InnerClass {
|
||||||
public static void main(String[] args) {
|
public static void main(String[] args) {
|
||||||
(new InnerClass()).method();
|
(new InnerClass()).method();
|
||||||
|
|
|
@ -1,3 +1,13 @@
|
||||||
|
/******************************************************************************
|
||||||
|
* Copyright (c) 2002 - 2008 IBM Corporation.
|
||||||
|
* 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://www.eclipse.org/legal/epl-v10.html
|
||||||
|
*
|
||||||
|
* Contributors:
|
||||||
|
* IBM Corporation - initial API and implementation
|
||||||
|
*****************************************************************************/
|
||||||
// other stranger test cases
|
// other stranger test cases
|
||||||
//
|
//
|
||||||
// combininations of:
|
// combininations of:
|
||||||
|
|
|
@ -1,3 +1,13 @@
|
||||||
|
/******************************************************************************
|
||||||
|
* Copyright (c) 2002 - 2008 IBM Corporation.
|
||||||
|
* 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://www.eclipse.org/legal/epl-v10.html
|
||||||
|
*
|
||||||
|
* Contributors:
|
||||||
|
* IBM Corporation - initial API and implementation
|
||||||
|
*****************************************************************************/
|
||||||
interface IntConstant {
|
interface IntConstant {
|
||||||
int getConstant();
|
int getConstant();
|
||||||
}
|
}
|
||||||
|
|
|
@ -1,3 +1,13 @@
|
||||||
|
/******************************************************************************
|
||||||
|
* Copyright (c) 2002 - 2008 IBM Corporation.
|
||||||
|
* 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://www.eclipse.org/legal/epl-v10.html
|
||||||
|
*
|
||||||
|
* Contributors:
|
||||||
|
* IBM Corporation - initial API and implementation
|
||||||
|
*****************************************************************************/
|
||||||
public class InnerClassSuper {
|
public class InnerClassSuper {
|
||||||
int x = 5;
|
int x = 5;
|
||||||
class SuperOuter {
|
class SuperOuter {
|
||||||
|
|
|
@ -1,3 +1,13 @@
|
||||||
|
/******************************************************************************
|
||||||
|
* Copyright (c) 2002 - 2008 IBM Corporation.
|
||||||
|
* 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://www.eclipse.org/legal/epl-v10.html
|
||||||
|
*
|
||||||
|
* Contributors:
|
||||||
|
* IBM Corporation - initial API and implementation
|
||||||
|
*****************************************************************************/
|
||||||
public class InterfaceTest1 {
|
public class InterfaceTest1 {
|
||||||
public static void main(String[] args) {
|
public static void main(String[] args) {
|
||||||
InterfaceTest1 it= new InterfaceTest1();
|
InterfaceTest1 it= new InterfaceTest1();
|
||||||
|
|
|
@ -1,3 +1,13 @@
|
||||||
|
/******************************************************************************
|
||||||
|
* Copyright (c) 2002 - 2008 IBM Corporation.
|
||||||
|
* 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://www.eclipse.org/legal/epl-v10.html
|
||||||
|
*
|
||||||
|
* Contributors:
|
||||||
|
* IBM Corporation - initial API and implementation
|
||||||
|
*****************************************************************************/
|
||||||
public class LocalClass {
|
public class LocalClass {
|
||||||
public static void main(String[] args) {
|
public static void main(String[] args) {
|
||||||
final Integer base = new Integer(6);
|
final Integer base = new Integer(6);
|
||||||
|
|
|
@ -1,3 +1,13 @@
|
||||||
|
/******************************************************************************
|
||||||
|
* Copyright (c) 2002 - 2008 IBM Corporation.
|
||||||
|
* 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://www.eclipse.org/legal/epl-v10.html
|
||||||
|
*
|
||||||
|
* Contributors:
|
||||||
|
* IBM Corporation - initial API and implementation
|
||||||
|
*****************************************************************************/
|
||||||
public class MiniaturList {
|
public class MiniaturList {
|
||||||
MiniaturList next;
|
MiniaturList next;
|
||||||
|
|
||||||
|
|
|
@ -1,3 +1,13 @@
|
||||||
|
/******************************************************************************
|
||||||
|
* Copyright (c) 2002 - 2008 IBM Corporation.
|
||||||
|
* 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://www.eclipse.org/legal/epl-v10.html
|
||||||
|
*
|
||||||
|
* Contributors:
|
||||||
|
* IBM Corporation - initial API and implementation
|
||||||
|
*****************************************************************************/
|
||||||
abstract class PrimitiveWrapper {
|
abstract class PrimitiveWrapper {
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
|
@ -1,3 +1,13 @@
|
||||||
|
/******************************************************************************
|
||||||
|
* Copyright (c) 2002 - 2008 IBM Corporation.
|
||||||
|
* 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://www.eclipse.org/legal/epl-v10.html
|
||||||
|
*
|
||||||
|
* Contributors:
|
||||||
|
* IBM Corporation - initial API and implementation
|
||||||
|
*****************************************************************************/
|
||||||
public class Monitor {
|
public class Monitor {
|
||||||
int i = 0;
|
int i = 0;
|
||||||
|
|
||||||
|
|
|
@ -1,3 +1,13 @@
|
||||||
|
/******************************************************************************
|
||||||
|
* Copyright (c) 2002 - 2008 IBM Corporation.
|
||||||
|
* 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://www.eclipse.org/legal/epl-v10.html
|
||||||
|
*
|
||||||
|
* Contributors:
|
||||||
|
* IBM Corporation - initial API and implementation
|
||||||
|
*****************************************************************************/
|
||||||
public class Monitor2 {
|
public class Monitor2 {
|
||||||
int i = 0;
|
int i = 0;
|
||||||
|
|
||||||
|
|
|
@ -1,3 +1,13 @@
|
||||||
|
/******************************************************************************
|
||||||
|
* Copyright (c) 2002 - 2008 IBM Corporation.
|
||||||
|
* 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://www.eclipse.org/legal/epl-v10.html
|
||||||
|
*
|
||||||
|
* Contributors:
|
||||||
|
* IBM Corporation - initial API and implementation
|
||||||
|
*****************************************************************************/
|
||||||
public class NullArrayInit {
|
public class NullArrayInit {
|
||||||
String[] x = {null};
|
String[] x = {null};
|
||||||
|
|
||||||
|
|
|
@ -1,3 +1,13 @@
|
||||||
|
/******************************************************************************
|
||||||
|
* Copyright (c) 2002 - 2008 IBM Corporation.
|
||||||
|
* 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://www.eclipse.org/legal/epl-v10.html
|
||||||
|
*
|
||||||
|
* Contributors:
|
||||||
|
* IBM Corporation - initial API and implementation
|
||||||
|
*****************************************************************************/
|
||||||
public class QualifiedStatic {
|
public class QualifiedStatic {
|
||||||
public static void main(String[] args) {
|
public static void main(String[] args) {
|
||||||
QualifiedStatic qs= new QualifiedStatic();
|
QualifiedStatic qs= new QualifiedStatic();
|
||||||
|
|
|
@ -1,3 +1,13 @@
|
||||||
|
/******************************************************************************
|
||||||
|
* Copyright (c) 2002 - 2008 IBM Corporation.
|
||||||
|
* 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://www.eclipse.org/legal/epl-v10.html
|
||||||
|
*
|
||||||
|
* Contributors:
|
||||||
|
* IBM Corporation - initial API and implementation
|
||||||
|
*****************************************************************************/
|
||||||
public class Scoping1 {
|
public class Scoping1 {
|
||||||
public static void main(String[] args) {
|
public static void main(String[] args) {
|
||||||
Scoping1 s1= new Scoping1();
|
Scoping1 s1= new Scoping1();
|
||||||
|
|
|
@ -1,3 +1,13 @@
|
||||||
|
/******************************************************************************
|
||||||
|
* Copyright (c) 2002 - 2008 IBM Corporation.
|
||||||
|
* 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://www.eclipse.org/legal/epl-v10.html
|
||||||
|
*
|
||||||
|
* Contributors:
|
||||||
|
* IBM Corporation - initial API and implementation
|
||||||
|
*****************************************************************************/
|
||||||
public class Scoping2 {
|
public class Scoping2 {
|
||||||
public static void main(String[] args) {
|
public static void main(String[] args) {
|
||||||
Scoping2 s2= new Scoping2();
|
Scoping2 s2= new Scoping2();
|
||||||
|
|
|
@ -1,3 +1,13 @@
|
||||||
|
/******************************************************************************
|
||||||
|
* Copyright (c) 2002 - 2008 IBM Corporation.
|
||||||
|
* 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://www.eclipse.org/legal/epl-v10.html
|
||||||
|
*
|
||||||
|
* Contributors:
|
||||||
|
* IBM Corporation - initial API and implementation
|
||||||
|
*****************************************************************************/
|
||||||
public class Simple1 {
|
public class Simple1 {
|
||||||
private int value;
|
private int value;
|
||||||
private final float fval = 3.14F;
|
private final float fval = 3.14F;
|
||||||
|
|
|
@ -1,3 +1,13 @@
|
||||||
|
/******************************************************************************
|
||||||
|
* Copyright (c) 2002 - 2008 IBM Corporation.
|
||||||
|
* 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://www.eclipse.org/legal/epl-v10.html
|
||||||
|
*
|
||||||
|
* Contributors:
|
||||||
|
* IBM Corporation - initial API and implementation
|
||||||
|
*****************************************************************************/
|
||||||
|
|
||||||
interface ISimpleCalls {
|
interface ISimpleCalls {
|
||||||
public void helloWorld();
|
public void helloWorld();
|
||||||
|
|
|
@ -1,3 +1,13 @@
|
||||||
|
/******************************************************************************
|
||||||
|
* Copyright (c) 2002 - 2008 IBM Corporation.
|
||||||
|
* 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://www.eclipse.org/legal/epl-v10.html
|
||||||
|
*
|
||||||
|
* Contributors:
|
||||||
|
* IBM Corporation - initial API and implementation
|
||||||
|
*****************************************************************************/
|
||||||
public class StaticInit {
|
public class StaticInit {
|
||||||
|
|
||||||
static class X {
|
static class X {
|
||||||
|
|
|
@ -1,3 +1,13 @@
|
||||||
|
/******************************************************************************
|
||||||
|
* Copyright (c) 2002 - 2008 IBM Corporation.
|
||||||
|
* 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://www.eclipse.org/legal/epl-v10.html
|
||||||
|
*
|
||||||
|
* Contributors:
|
||||||
|
* IBM Corporation - initial API and implementation
|
||||||
|
*****************************************************************************/
|
||||||
public class StaticNesting {
|
public class StaticNesting {
|
||||||
public static void main(String[] args) {
|
public static void main(String[] args) {
|
||||||
StaticNesting sn= new StaticNesting();
|
StaticNesting sn= new StaticNesting();
|
||||||
|
|
|
@ -1,3 +1,13 @@
|
||||||
|
/******************************************************************************
|
||||||
|
* Copyright (c) 2002 - 2008 IBM Corporation.
|
||||||
|
* 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://www.eclipse.org/legal/epl-v10.html
|
||||||
|
*
|
||||||
|
* Contributors:
|
||||||
|
* IBM Corporation - initial API and implementation
|
||||||
|
*****************************************************************************/
|
||||||
public class Switch1 {
|
public class Switch1 {
|
||||||
public static void main(String[] args) {
|
public static void main(String[] args) {
|
||||||
Switch1 s1= new Switch1();
|
Switch1 s1= new Switch1();
|
||||||
|
|
|
@ -1,3 +1,13 @@
|
||||||
|
/******************************************************************************
|
||||||
|
* Copyright (c) 2002 - 2008 IBM Corporation.
|
||||||
|
* 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://www.eclipse.org/legal/epl-v10.html
|
||||||
|
*
|
||||||
|
* Contributors:
|
||||||
|
* IBM Corporation - initial API and implementation
|
||||||
|
*****************************************************************************/
|
||||||
class R implements Runnable {
|
class R implements Runnable {
|
||||||
public int i;
|
public int i;
|
||||||
|
|
||||||
|
|
|
@ -1,3 +1,13 @@
|
||||||
|
/******************************************************************************
|
||||||
|
* Copyright (c) 2002 - 2008 IBM Corporation.
|
||||||
|
* 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://www.eclipse.org/legal/epl-v10.html
|
||||||
|
*
|
||||||
|
* Contributors:
|
||||||
|
* IBM Corporation - initial API and implementation
|
||||||
|
*****************************************************************************/
|
||||||
public class TwoClasses {
|
public class TwoClasses {
|
||||||
private int value;
|
private int value;
|
||||||
private float fval= 3.14F;
|
private float fval= 3.14F;
|
||||||
|
|
|
@ -1,3 +1,13 @@
|
||||||
|
/******************************************************************************
|
||||||
|
* Copyright (c) 2002 - 2008 IBM Corporation.
|
||||||
|
* 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://www.eclipse.org/legal/epl-v10.html
|
||||||
|
*
|
||||||
|
* Contributors:
|
||||||
|
* IBM Corporation - initial API and implementation
|
||||||
|
*****************************************************************************/
|
||||||
|
|
||||||
public class WelcomeInitializers {
|
public class WelcomeInitializers {
|
||||||
int x;
|
int x;
|
||||||
|
|
|
@ -1,3 +1,13 @@
|
||||||
|
/******************************************************************************
|
||||||
|
* Copyright (c) 2002 - 2008 IBM Corporation.
|
||||||
|
* 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://www.eclipse.org/legal/epl-v10.html
|
||||||
|
*
|
||||||
|
* Contributors:
|
||||||
|
* IBM Corporation - initial API and implementation
|
||||||
|
*****************************************************************************/
|
||||||
public class WhileTest1 {
|
public class WhileTest1 {
|
||||||
public static void main(String[] args) {
|
public static void main(String[] args) {
|
||||||
WhileTest1 wt1= new WhileTest1();
|
WhileTest1 wt1= new WhileTest1();
|
||||||
|
|
|
@ -1,25 +0,0 @@
|
||||||
#!/bin/bash
|
|
||||||
|
|
||||||
if [[ `uname` = "Linux" ]]; then
|
|
||||||
REAL_NAME=`realpath $0`
|
|
||||||
MY_DIR=`dirname $REAL_NAME`
|
|
||||||
else
|
|
||||||
MY_DIR=`pwd`
|
|
||||||
fi
|
|
||||||
|
|
||||||
TMP=$MY_DIR/tmp
|
|
||||||
|
|
||||||
if [[ ! -e $MY_DIR/JLex/Main.java ]]; then
|
|
||||||
mkdir -p $TMP
|
|
||||||
|
|
||||||
cd $TMP
|
|
||||||
|
|
||||||
mkdir JLex
|
|
||||||
wget -O JLex/Main.java http://www.cs.princeton.edu/~appel/modern/java/JLex/current/Main.java
|
|
||||||
|
|
||||||
cp -r JLex $MY_DIR
|
|
||||||
|
|
||||||
cd $MY_DIR
|
|
||||||
rm -rf $TMP
|
|
||||||
fi
|
|
||||||
|
|
Loading…
Reference in New Issue