• Home
  • Raw
  • Download

Lines Matching refs:abstract

25 *   ... [have AutoValue also implement abstract methods from my
38 * ... [use AutoValue on an **interface**, not abstract class?](#interface)
61 abstract static class Inner {
93 public abstract class Foo {
98 @Nullable abstract Bar bar();
134 public abstract class ListExample {
139 public abstract ImmutableList<String> names();
152 public abstract class MutableExample {
162 public abstract MutablePropertyType ouch();
189 If a parent class defines a concrete (non-abstract) method that you would like
190 AutoValue to implement, you can *redeclare* it as abstract. This applies to
201 @Override public abstract String toString();
212 @Override public abstract int numberOfLegs();
239 abstract class IgnoreExample {
246 abstract String normalProperty();
259 ## <a name="supertypes"></a>... have AutoValue also implement abstract methods from my supertypes?
261 AutoValue will recognize every abstract accessor method whether it is defined
264 These abstract methods can come from more than one place, for example from an
372 ## <a name="interface"></a>... use AutoValue on an interface, not abstract class?
375 not be used in lieu of an abstract class. The only advantage of interfaces we're
376 aware of is that you can omit `public abstract` from the methods. That's not
390 abstract class Foo {
391 abstract Bar barProperty();
409 abstract class Foo {
410 abstract Bar barProperty();
423 be `abstract`, `final`, or `private`.
441 abstract class Foo {
442 abstract Bar barProperty();
446 public abstract int hashCode();
450 public abstract String toString();
461 public abstract class StringOrInteger {
462 public abstract String representation();
473 abstract static class StringValue extends StringOrInteger {
474 abstract String string();
483 abstract static class IntegerValue extends StringOrInteger {
484 abstract int integer();
507 public abstract class StringOrInteger {
509 public abstract Kind getKind();
511 public abstract String string();
513 public abstract int integer();
546 abstract method returning the enum, though it doesn't have to be called
547 `getKind()`. For every value of the enum, there must be an abstract method with
560 public abstract class Transform {
562 public abstract Kind getKind();
564 abstract void none();
566 abstract void circleCrop();
568 public abstract BlurTransformParameters blur();
615 abstract class Example {
651 abstract class Example {
654 abstract Object getObject();