Skip to content

Commit

Permalink
Make javadoc valid html5
Browse files Browse the repository at this point in the history
PiperOrigin-RevId: 378937526
  • Loading branch information
cushon authored and Dagger Team committed Jun 11, 2021
1 parent b44be6a commit 954b71c
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions java/dagger/Component.java
Original file line number Diff line number Diff line change
Expand Up @@ -35,14 +35,14 @@
* example, {@code @Component interface MyComponent {...}} will produce an implementation named
* {@code DaggerMyComponent}.
*
* <a name="component-methods"></a>
* <a id="component-methods"></a>
* <h2>Component methods</h2>
*
* <p>Every type annotated with {@code @Component} must contain at least one abstract component
* method. Component methods may have any name, but must have signatures that conform to either
* {@linkplain Provider provision} or {@linkplain MembersInjector members-injection} contracts.
*
* <a name="provision-methods"></a>
* <a id="provision-methods"></a>
* <h3>Provision methods</h3>
*
* <p>Provision methods have no parameters and return an {@link Inject injected} or {@link Provides
Expand All @@ -68,7 +68,7 @@
* {@literal Lazy<SomeType>} getLazySomeType();
* </code></pre>
*
* <a name="members-injection-methods"></a>
* <a id="members-injection-methods"></a>
* <h3>Members-injection methods</h3>
*
* <p>Members-injection methods have a single parameter and inject dependencies into each of the
Expand Down Expand Up @@ -111,7 +111,7 @@
* }
* </code></pre>
*
* <a name="instantiation"></a>
* <a id="instantiation"></a>
* <h2>Instantiation</h2>
*
* <p>Component implementations are primarily instantiated via a generated <a
Expand Down Expand Up @@ -162,7 +162,7 @@
* SomeComponent.create()} and {@code SomeComponent.builder().build()} are both valid and
* equivalent.
*
* <a name="scope"></a>
* <a id="scope"></a>
* <h2>Scope</h2>
*
* <p>Each Dagger component can be associated with a scope by annotating it with the {@linkplain
Expand All @@ -184,14 +184,14 @@
* self-contained implementations, exiting a scope is as simple as dropping all references to the
* component instance.
*
* <a name="component-relationships"></a>
* <a id="component-relationships"></a>
* <h2>Component relationships</h2>
*
* <p>While there is much utility in isolated components with purely unscoped bindings, many
* applications will call for multiple components with multiple scopes to interact. Dagger provides
* two mechanisms for relating components.
*
* <a name="subcomponents"></a>
* <a id="subcomponents"></a>
* <h3>Subcomponents</h3>
*
* <p>The simplest way to relate two components is by declaring a {@link Subcomponent}. A
Expand Down Expand Up @@ -219,7 +219,7 @@
* }
* </code></pre>
*
* <a name="component-dependencies"></a>
* <a id="component-dependencies"></a>
* <h3>Component dependencies</h3>
*
* <p>While subcomponents are the simplest way to compose subgraphs of bindings, subcomponents are
Expand Down

0 comments on commit 954b71c

Please sign in to comment.