Skip to content

Commit

Permalink
Lines authored by emilsj
Browse files Browse the repository at this point in the history
This commit forms part of the blame-preserving initial commit suite.
  • Loading branch information
emilsj authored and Robert Spencer committed Mar 29, 2017
1 parent 8584996 commit e673de1
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -433,3 +433,11 @@ private void validateAnnotatedParameters() {
// Enforce #5: getSpecDefinedParameters will verify that parameters don't have duplicate
// annotations
for (VariableElement v : getSpecDefinedParameters(stage)) {
try {
final String variableName = v.getSimpleName().toString();
final Annotation interStagePropAnnotation = getInterStagePropAnnotation(v);
final boolean isOutput =
Utils.getGenericTypeArgument(v.asType(), ClassNames.OUTPUT) != null;
if (isOutput) {
outputVariableToStage.put(variableName, stageAnnotation);
}
Original file line number Diff line number Diff line change
Expand Up @@ -298,3 +298,4 @@ static void onMeasure(
}

private static Layout createTextLayout(
int widthSpec,

0 comments on commit e673de1

Please sign in to comment.