File tree Expand file tree Collapse file tree 1 file changed +3
-1
lines changed
Expand file tree Collapse file tree 1 file changed +3
-1
lines changed Original file line number Diff line number Diff line change @@ -56,7 +56,6 @@ import com.google.auto.value.AutoValue;
5656@AutoValue
5757abstract class Animal {
5858 static Animal create (String name , int numberOfLegs ) {
59- // See "How do I...?" below for nested classes.
6059 return new AutoValue_Animal (name, numberOfLegs);
6160 }
6261
@@ -68,10 +67,13 @@ abstract class Animal {
6867The constructor parameters correspond, in order, to the abstract accessor
6968methods.
7069
70+ ** For a nested class** , see [ "How do I use AutoValue with a nested class"] ( howto.md#nested ) .
71+
7172Note that in real life, some classes and methods would presumably be public and
7273have Javadoc. We're leaving these off in the User Guide only to keep the
7374examples short and simple.
7475
76+
7577### In ` pom.xml `
7678
7779Maven users should add the following to the project's ` pom.xml ` file:
You can’t perform that action at this time.
0 commit comments