File tree Expand file tree Collapse file tree
java/src/com/google/template/soy/soytree Expand file tree Collapse file tree Original file line number Diff line number Diff line change 2828import com .google .template .soy .soytree .defn .TemplateParam ;
2929import com .google .template .soy .types .FunctionType ;
3030import com .google .template .soy .types .ast .FunctionTypeNode ;
31- import com .google .template .soy .types .ast .TypeNode ;
3231import com .google .template .soy .types .ast .TypesHolderNode ;
3332import java .util .Optional ;
34- import java .util .stream .Stream ;
3533
3634/**
3735 * Node representing a 'extern' statement with js/java implementations. TODO(b/191090743) Handle the
@@ -110,15 +108,11 @@ public boolean isJavaImplAsync() {
110108 return getJavaImpl ().map (j -> j .isAsync ()).orElse (false );
111109 }
112110
111+ @ Override
113112 public FunctionTypeNode getTypeNode () {
114113 return typeNode ;
115114 }
116115
117- @ Override
118- public Stream <TypeNode > getTypeNodes () {
119- return Stream .of (typeNode );
120- }
121-
122116 @ Override
123117 public ImmutableList <CommandTagAttribute > getAttributes () {
124118 return ImmutableList .of ();
You can’t perform that action at this time.
0 commit comments