Skip to content
Permalink
Browse files
- Feature to execute a Java main method and insert its output into th…
…e documentation now works

- Improved castSetting API
  • Loading branch information
ddekany committed Feb 8, 2021
1 parent 929d0e3 commit b21e4dde5e3c7b0652f06700b6b9b12f891bd9a7
Show file tree
Hide file tree
Showing 5 changed files with 329 additions and 82 deletions.
@@ -0,0 +1,34 @@
/*
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
* regarding copyright ownership. The ASF licenses this file
* to you under the Apache License, Version 2.0 (the
* "License"); you may not use this file except in compliance
* with the License. You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing,
* software distributed under the License is distributed on an
* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
* KIND, either express or implied. See the License for the
* specific language governing permissions and limitations
* under the License.
*/

package org.freemarker.docgen.core;

final class DefaultValue<T> {
private final T value;

static final DefaultValue NULL = new DefaultValue(null);

public DefaultValue(T value) {
this.value = value;
}

public T get() {
return value;
}
}

0 comments on commit b21e4dd

Please sign in to comment.