blob: 98896acde9d10a312dc6fdbed5899e0c378737e6 [file]
// Copyright (c) 2022, the Dart project authors. Please see the AUTHORS file
// for details. All rights reserved. Use of this source code is governed by a
// BSD-style license that can be found in the LICENSE file.
package com.example;
public class Example {
static final boolean staticFinalField = true;
Example(int instanceField) {
this.instanceField = instanceField;
}
static String staticField = "hello";
static String getStaticField() {
return staticField;
}
int instanceField;
int getInstanceField() {
return instanceField;
}
public static class Aux extends Example {
static int nothing = 0;
static Example getAnExample() {
return new Example();
}
}
}