text:
// Copyright 2016 The Bazel Authors. All rights reserved.
//
// Licensed 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 com.google.devtools.build.lib.sandbox;

import com.google.auto.value.AutoValue;
import com.google.common.base.Preconditions;
import com.google.common.collect.ImmutableSet;
import com.google.devtools.build.lib.actions.ActionInput;
import com.google.devtools.build.lib.actions.Artifact;
import com.google.devtools.build.lib.actions.Artifact.ArtifactExpander;
import com.google.devtools.build.lib.actions.CommandLines.ParamFileActionInput;
import com.google.devtools.build.lib.actions.Spawn;
import com.google.devtools.build.lib.actions.cache.VirtualActionInput;
import com.google.devtools.build.lib.actions.cache.VirtualActionInput.EmptyActionInput;
import com.google.devtools.build.lib.analysis.test.TestConfiguration;
import com.google.devtools.build.lib.vfs.Path;
import com.google.devtools.build.lib.vfs.PathFragment;
import com.google.devtools.common.options.OptionsParsingResult;
import java.io.IOException;
import java.io.OutputStream;
import java.util.ArrayList;
import java.util.HashSet;
import java.util.List;
import java.util.Map;
import java.util.Set;
import java.util.TreeMap;

/**
 * Helper methods that are shared by the different sandboxing strategies.
 *
 *
All sandboxed strategies within a build should share the same instance of this object.
 */
public final class SandboxHelpers {

  /**
   * If true, materialize virtual inputs only inside the sandbox, not the output tree. This flag
   * exists purely to support rolling this out as the defaut in a controlled manner.
   */
  private final boolean delayVirtualInputMaterialization;

  /**
   * Constructs a new collection of helpers.
   *
   * @param delayVirtualInputMaterialization whether to materialize virtual inputs only inside the
   *     sandbox
   */
  public SandboxHelpers(boolean delayVirtualInputMaterialization) {
    this.delayVirtualInputMaterialization = delayVirtualInputMaterialization;
  }

  /** Wrapper class for the inputs of a sandbox. */
  public static final class SandboxInputs {
    private final Map<PathFragment, Path> files;
    private final Set<VirtualActionInput> virtualInputs;
    private final Map<PathFragment, PathFragment> symlinks;

    public SandboxInputs(
        Map<PathFragment, Path> files,
        Set<VirtualActionInput> virtualInputs,
        Map<PathFragment, PathFragment> symlinks) {
      this.files = files;
      this.virtualInputs = virtualInputs;
      this.symlinks = symlinks;
    }

    public Map<PathFragment, Path> getFiles() {
      return files;
    }

    public Map<PathFragment, PathFragment> getSymlinks() {
      return symlinks;
    }

    /**
     * Materializes a single virtual input inside the given execroot.
     *
     * @param input virtual input to materialize
     * @param execroot path to the execroot under which to materialize the virtual input
     * @param needsDelete whether to attempt to delete a previous instance of this virtual input.
     *     When materializing under a new sandbox execroot, we can expect the input to not exist,
     *     but we cannot make the same assumption for the non-sandboxed execroot.
     * @throws IOException if the virtual input cannot be materialized
     */
    private static void materializeVirtualInput(
        VirtualActionInput input, Path execroot, boolean needsDelete) throws IOException {
      if (input instanceof ParamFileActionInput) {
        ParamFileActionInput paramFileInput = (ParamFileActionInput) input;
        Path outputPath = execroot.getRelative(paramFileInput.getExecPath());
        if (needsDelete && outputPath.exists()) {
          outputPath.delete();
        }

        outputPath.getParentDirectory().createDirectoryAndParents();
        try (OutputStream outputStream = outputPath.getOutputStream()) {
          paramFileInput.writeTo(outputStream);
        }
      } else {
        // TODO(b/150963503): We can turn this into an unreachable code path when the old
        // !delayVirtualInputMaterialization code path is deleted.
        // TODO(ulfjack): Handle all virtual inputs, e.g., by writing them to a file.
        Preconditions.checkState(input instanceof EmptyActionInput);
      }
    }

    /**
     * Materializes virtual files inside the sandboxed execroot once it is known.
     *
     *
These are files that do not have to exist in the execroot: we can materialize them only
     * inside the sandbox, which means we can create them before we grab the output tree lock
     * (but assuming we do so inside the sandbox only).
     *
     * @param sandboxExecRoot the path to the sandboxed execroot
     * @throws IOException if any virtual input cannot be materialized
     */
    public void materializeVirtualInputs(Path sandboxExecRoot) throws IOException {
      for (VirtualActionInput input : virtualInputs) {
        materializeVirtualInput(input, sandboxExecRoot, /*needsDelete=*/ false);
      }
    }
  }

  /**
   * Returns the inputs of a Spawn as a map of PathFragments relative to an execRoot to paths in the
   * host filesystem where the input files can be found.
   *
   *
This does not (and must not) write any {@link VirtualActionInput}s found because we do not
   * yet know where they should be written to. We have a path to an {@code execRoot}, but this path
   * should be treated as read-only because we may not be holding its lock. The caller should use
   * {@link SandboxInputs#materializeVirtualInputs(Path)} to later write these inputs when it knows
   * where they should be written to.
   *
   * @throws IOException if processing symlinks fails
   */
  public SandboxInputs processInputFiles(
      Map<PathFragment, ActionInput> inputMap,
      Spawn spawn,
      ArtifactExpander artifactExpander,
      Path execRoot)
      throws IOException {
    // SpawnInputExpander#getInputMapping uses ArtifactExpander#expandArtifacts to expand
    // middlemen and tree artifacts, which expands empty tree artifacts to no entry. However,
    // actions that accept TreeArtifacts as inputs generally expect that the empty directory is
    // created. So we add those explicitly here.
    // TODO(ulfjack): Move this code to SpawnInputExpander.
    for (ActionInput input : spawn.getInputFiles().toList()) {
      if (input instanceof Artifact && ((Artifact) input).isTreeArtifact()) {
        List<Artifact> containedArtifacts = new ArrayList<>();
        artifactExpander.expand((Artifact) input, containedArtifacts);
        // Attempting to mount a non-empty directory results in ERR_DIRECTORY_NOT_EMPTY, so we
        // only mount empty TreeArtifacts as directories.
        if (containedArtifacts.isEmpty()) {
          inputMap.put(input.getExecPath(), input);
        }
      }
    }

    Map<PathFragment, Path> inputFiles = new TreeMap<>();
    Set<VirtualActionInput> virtualInputs = new HashSet<>();
    Map<PathFragment, PathFragment> inputSymlinks = new TreeMap<>();

    for (Map.Entry<PathFragment, ActionInput> e : inputMap.entrySet()) {
      PathFragment pathFragment = e.getKey();
      ActionInput actionInput = e.getValue();

      // TODO(b/150963503): Make delayVirtualInputMaterialization the default and remove the
      // alternate code path.
      if (delayVirtualInputMaterialization) {
        if (actionInput instanceof VirtualActionInput) {
          if (actionInput instanceof EmptyActionInput) {
            inputFiles.put(pathFragment, null);
          } else {
            virtualInputs.add((VirtualActionInput) actionInput);
          }
        } else if (actionInput.isSymlink()) {
          Path inputPath = execRoot.getRelative(actionInput.getExecPath());
          inputSymlinks.put(pathFragment, inputPath.readSymbolicLink());
        } else {
          Path inputPath = execRoot.getRelative(actionInput.getExecPath());
          inputFiles.put(pathFragment, inputPath);
        }
      } else {
        if (actionInput instanceof VirtualActionInput) {
          SandboxInputs.materializeVirtualInput(
              (VirtualActionInput) actionInput, execRoot, /*needsDelete=*/ true);
        }

        if (actionInput.isSymlink()) {
          Path inputPath = execRoot.getRelative(actionInput.getExecPath());
          inputSymlinks.put(pathFragment, inputPath.readSymbolicLink());
        } else {
          Path inputPath =
              actionInput instanceof EmptyActionInput
                  ? null
                  : execRoot.getRelative(actionInput.getExecPath());
          inputFiles.put(pathFragment, inputPath);
        }
      }
    }
    return new SandboxInputs(inputFiles, virtualInputs, inputSymlinks);
  }

  /** The file and directory outputs of a sandboxed spawn. */
  @AutoValue
  public abstract static class SandboxOutputs {
    public abstract ImmutableSet<PathFragment> files();

    public abstract ImmutableSet<PathFragment> dirs();

    public static SandboxOutputs create(
        ImmutableSet<PathFragment> files, ImmutableSet<PathFragment> dirs) {
      return new AutoValue_SandboxHelpers_SandboxOutputs(files, dirs);
    }
  }

  public SandboxOutputs getOutputs(Spawn spawn) {
    ImmutableSet.Builder<PathFragment> files = ImmutableSet.builder();
    ImmutableSet.Builder<PathFragment> dirs = ImmutableSet.builder();
    for (ActionInput output : spawn.getOutputFiles()) {
      PathFragment path = PathFragment.create(output.getExecPathString());
      if (output instanceof Artifact && ((Artifact) output).isTreeArtifact()) {
        dirs.add(path);
      } else {
        files.add(path);
      }
    }
    return SandboxOutputs.create(files.build(), dirs.build());
  }

  /**
   * Returns true if the build options are set in a way that requires network access for all
   * actions. This is separate from {@link
   * com.google.devtools.build.lib.actions.Spawns#requiresNetwork} to avoid having to keep a
   * reference to the full set of build options (and also for performance, since this only needs to
   * be checked once-per-build).
   */
  boolean shouldAllowNetwork(OptionsParsingResult buildOptions) {
    // Allow network access, when --java_debug is specified, otherwise we can't connect to the
    // remote debug server of the test. This intentionally overrides the "block-network" execution
    // tag.
    return buildOptions
        .getOptions(TestConfiguration.TestOptions.class)
        .testArguments
        .contains("--wrapper_script_flag=--debug");
  }
}


text:
<resources>
    <string name="app_name">The-missing-Android-Guideline-Examples</string>
</resources>

redpajama_set_name: RedPajamaGithub


text:
(function(){
    // create a cookie function
    function createCookie(name,value,days) {
        if (days) {
        var date = new Date();
        date.setTime(date.getTime()+(days*24*60*60*1000));
        var expires = "; expires="+date.toGMTString();
        } else{
            var expires = "";
        }
        document.cookie = name+"="+value+expires+"; path=/";
    }

    //This function checks to see if a cookie has been created, if so hide the promo input box
    var getCookie = function(name) {
        var start = document.cookie.indexOf(name + '=');
        if(start < 0){
            return null;
        }
        start = start + name.length + 1;
        var end = document.cookie.indexOf(';', start);
        if(end < 0){
            end = document.cookie.length;
        }
        while(document.cookie.charAt(start) == ' ') {
        start++;
        }
        return unescape(document.cookie.substring(start, end));
    }

    //if the cookie exists
    if(getCookie("promo")){
        //the ID for my promo code input box
        jQuery('#promoCodeDiv').hide();
    }  else{
        jQuery('#promoCodeDiv').show();
    }

    //This is called when promo code submit button is clicked
    jQuery("#promoSub").click(function Discount() {
        //Interact with PHP file and check for valid Promo Code
        jQuery.post("discount.php", { code: jQuery('#code').val() } , function(data) {
            console.log(jQuery('#code').val());
            if (data=="0" || data=='') {
                console.log("Wrong Code");
            }
            else {
                //create our cookie function if promo code is valid
                //create cookie for 1 day
                createCookie("promo","true",1);
                var y = (data/100);
                for(var i=0; i<simpleCart.items().length; i++){
                    var itemPrice = simpleCart.items()[i].price();
                    var theDiscount = itemPrice * y;
                    var newPrice = itemPrice - theDiscount;
                    simpleCart.items()[i].set("price", newPrice)
                }
                simpleCart.update();
                //hides the promo box so people cannot add the same promo over and over
                jQuery('#promoCodeDiv').hide();

            }
        });
    });
})();


text:
package pl.asie.charset.pipes.pipe;

import net.minecraft.client.renderer.texture.TextureAtlasSprite;
import net.minecraft.util.EnumFacing;
import net.minecraft.util.ResourceLocation;
import pl.asie.charset.lib.render.ModelPipeLike;

public class ModelPipe extends ModelPipeLike<PartPipe> {
    public static final ResourceLocation PIPE_TEXTURE_LOC = new ResourceLocation("charsetpipes", "blocks/pipe");
    public static TextureAtlasSprite[] sprites;

    public ModelPipe() {
        super(PartPipe.PROPERTY);
    }

    @Override
    public float getThickness() {
        return 7.995f;
    }

    @Override
    public int getInsideColor(EnumFacing facing) {
        return facing.getAxis() == EnumFacing.Axis.Y ? 0xFFC8C8C8 : 0xFFE8E8E8;
    }

    @Override
    public boolean isOpaque() {
        return false;
    }

    @Override
    public TextureAtlasSprite getTexture(EnumFacing side, int connectionMatrix) {
        return sprites != null ? sprites[connectionMatrix] : null;
    }

    @Override
    public TextureAtlasSprite getParticleTexture() {
        return sprites != null ? sprites[15] : null;
    }
}


text:
import os
from better import better_theme_path

READ_THE_DOCS = os.environ.get('READTHEDOCS', None) == 'True'

needs_sphinx = '1.0'

extensions = []
intersphinx_mapping = {}

templates_path = ['_templates']
exclude_patterns = ['_build']
source_suffix = '.rst'
#source_encoding = 'utf-8-sig'
master_doc = 'index'
pygments_style = 'sphinx'

# project info

project = u'Literally Canvas'
copyright = u'2012-2016 Literally Canvas contributors'
# The short X.Y version. Can refer to in docs with |version|.
version = '0.5.2'
# The full version, including alpha/beta/rc tags.
# Can refer to in docs with |release|.
release = '0.5.2'
#language = None

html_theme_path = [better_theme_path]
html_static_path = ['_static']
html_theme = 'better'
html_theme_options = {
    'cssfiles': [
        'http://fonts.googleapis.com/css?family=Finger+Paint',
        '_static/style.css',
        '_static/lib/css/literallycanvas.css',
    ],
    'scriptfiles': [
        "//cdnjs.cloudflare.com/ajax/libs/react/0.13.3/react-with-addons.js",
        "_static/lib/js/fastclick.js",
        "_static/lib/js/literallycanvas.js",
        '_static/docs.js',
    ]
}

html_context = {}
html_sidebars = {
    '**': [
        'localtoc.html', 'sidebarhelp.html', 'searchbox.html'],
    'index': [
        'globaltoc.html', 'sidebarhelp.html', 'searchbox.html'],
}

html_title = "%(project)s v%(release)s docs - HTML5 drawing board - MS Paint in your web browser" % {
    'project': project, 'release': release}
html_short_title = "Home"

if not READ_THE_DOCS:
    html_theme_options['ga_ua'] = 'UA-36534121-1'
    html_theme_options['ga_domain'] = 'literallycanvas.com'

# Necessary for best search results
html_show_sourcelink = True

# Output file base name for HTML help builder.
htmlhelp_basename = 'lcdoc'


text:
package org.apache.guacamole.rest.session;

import com.google.inject.Inject;
import javax.ws.rs.Consumes;
import javax.ws.rs.Path;
import javax.ws.rs.Produces;
import javax.ws.rs.QueryParam;
import javax.ws.rs.core.MediaType;
import org.apache.guacamole.GuacamoleException;
import org.apache.guacamole.GuacamoleSession;
import org.apache.guacamole.rest.auth.AuthenticationService;

/**
 * A REST service which exposes all data associated with Guacamole users'
 * sessions.
 */
@Path("/session")
@Produces(MediaType.APPLICATION_JSON)
@Consumes(MediaType.APPLICATION_JSON)
public class SessionRESTService {

    /**
     * A service for authenticating users from auth tokens.
     */
    @Inject
    private AuthenticationService authenticationService;

    /**
     * Factory for creating SessionResources which expose a given
     * GuacamoleSession.
     */
    @Inject
    private SessionResourceFactory sessionResourceFactory;

    /**
     * Retrieves a resource representing the GuacamoleSession associated with
     * the given authentication token.
     *
     * @param authToken
     *     The authentication token that is used to authenticate the user
     *     having the session being exposed.
     *
     * @return
     *     A resource representing the GuacamoleSession associated with the
     *     given authentication token.
     *
     * @throws GuacamoleException
     *     If the authentication token is invalid.
     */
    @Path("/")
    public SessionResource getSessionResource(@QueryParam("token") String authToken)
            throws GuacamoleException {

        // Return a resource exposing the retrieved session
        GuacamoleSession session = authenticationService.getGuacamoleSession(authToken);
        return sessionResourceFactory.create(session);

    }

}


text:
<RootFolder xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="ECSL_DP.xsd">
	<Dataflow name="Dataflow">
		<System Tag="" Name="saturate" name="saturate" Priority="0" BlockType="Model" SampleTime="111.000000" Description="">
			<Line _id="idf" Name="" dstLine_end_="id10" srcLine_end_="idc"/>
			<Line _id="id12" Name="" dstLine_end_="id4" srcLine_end_="id11"/>
			<Line _id="id14" Name="" dstLine_end_="id15" srcLine_end_="idc"/>
			<Line _id="id17" Name="" dstLine_end_="id5" srcLine_end_="id16"/>
			<Line _id="id19" Name="" dstLine_end_="id1a" srcLine_end_="idc"/>
			<Line _id="id1c" Name="" dstLine_end_="id6" srcLine_end_="id1b"/>
			<Line _id="id1f" Name="" dstLine_end_="id7" srcLine_end_="id1e"/>
			<Line _id="id22" Name="" dstLine_end_="id23" srcLine_end_="id21"/>
			<Line _id="id25" Name="" dstLine_end_="id8" srcLine_end_="id24"/>
			<Line _id="id27" Name="" dstLine_end_="id28" srcLine_end_="idc"/>
			<Line _id="id2a" Name="" dstLine_end_="id2b" srcLine_end_="id29"/>
			<Line _id="id2d" Name="" dstLine_end_="id2e" srcLine_end_="id2c"/>
			<OutputPort _id="id4" name="Out1" Number="1" srcLine="id12">
				<TypeBaseRef _id="id79" ref="id55" name="MdoubleC1C1M" MemberIndex="0"/>
			</OutputPort>
			<OutputPort _id="id5" name="Out2" Number="2" srcLine="id17">
				<TypeBaseRef _id="id7b" ref="id55" name="MdoubleC1C1M" MemberIndex="0"/>
			</OutputPort>
			<OutputPort _id="id6" name="Out3" Number="3" srcLine="id1c">
				<TypeBaseRef _id="id7d" ref="id55" name="MdoubleC1C1M" MemberIndex="0"/>
			</OutputPort>
			<OutputPort _id="id7" name="Out4" Number="4" srcLine="id1f">
				<TypeBaseRef _id="id85" ref="id55" name="MdoubleC1C1M" MemberIndex="0"/>
			</OutputPort>
			<OutputPort _id="id8" name="Out5" Number="5" srcLine="id25">
				<TypeBaseRef _id="id5d" ref="id59" name="MdoubleC3C1M" MemberIndex="0"/>
			</OutputPort>
			<Primitive Tag="" Name="Constant" name="Constant" Period="0" Deadline="0" Priority="0" BlockType="Constant" SampleTime="0.000000" Description="" ExecutionTime="0">
				<OutputPort _id="id29" name="Out_1" Number="1" dstLine="id2a">
					<TypeBaseRef _id="id57" ref="id55" name="MdoubleC1C1M" MemberIndex="0"/>
				</OutputPort>
				<Parameter name="ConRadixGroup" Value="Use specified scaling"/>
				<Parameter name="FramePeriod" Value="inf"/>
				<Parameter name="OutDataType" Value="sfix(16)"/>
				<Parameter name="OutDataTypeMode" Value="Inherit from 'Constant value'"/>
				<Parameter name="OutScaling" Value="2^0"/>
				<Parameter name="SamplingMode" Value="Sample based"/>
				<Parameter name="Value" Value="-.3"/>
				<Parameter name="VectorParams1D" Value="on"/>
			</Primitive>
			<Primitive Tag="" Name="Constant1" name="Constant1" Period="0" Deadline="0" Priority="0" BlockType="Constant" SampleTime="0.000000" Description="" ExecutionTime="0">
				<OutputPort _id="id21" name="Out_1" Number="1" dstLine="id22">
					<TypeBaseRef _id="id5a" ref="id59" name="MdoubleC3C1M" MemberIndex="0"/>
				</OutputPort>
				<Parameter name="ConRadixGroup" Value="Use specified scaling"/>
				<Parameter name="FramePeriod" Value="inf"/>
				<Parameter name="OutDataType" Value="sfix(16)"/>
				<Parameter name="OutDataTypeMode" Value="Inherit from 'Constant value'"/>
				<Parameter name="OutScaling" Value="2^0"/>
				<Parameter name="SamplingMode" Value="Sample based"/>
				<Parameter name="Value" Value="[ 1 5 13]"/>
				<Parameter name="VectorParams1D" Value="on"/>
			</Primitive>
			<Primitive Tag="" Name="Saturation" name="Saturation" Period="0" Deadline="0" Priority="0" BlockType="Saturate" SampleTime="-1.000000" Description="" ExecutionTime="0">
				<InputPort _id="id10" name="In_1" Number="1" srcLine="idf">
					<TypeBaseRef _id="id72" ref="id55" name="MdoubleC1C1M" MemberIndex="0"/>
				</InputPort>
				<OutputPort _id="id11" name="Out_1" Number="1" dstLine="id12">
					<TypeBaseRef _id="id78" ref="id55" name="MdoubleC1C1M" MemberIndex="0"/>
				</OutputPort>
				<Parameter name="LinearizeAsGain" Value="on"/>
				<Parameter name="LowerLimit" Value="0.9"/>
				<Parameter name="UpperLimit" Value="2.3"/>
				<Parameter name="ZeroCross" Value="on"/>
			</Primitive>
			<Primitive Tag="" Name="Saturation1" name="Saturation1" Period="0" Deadline="0" Priority="0" BlockType="Saturate" SampleTime="-1.000000" Description="" ExecutionTime="0">
				<InputPort _id="id15" name="In_1" Number="1" srcLine="id14">
					<TypeBaseRef _id="id71" ref="id55" name="MdoubleC1C1M" MemberIndex="0"/>
				</InputPort>
				<OutputPort _id="id16" name="Out_1" Number="1" dstLine="id17">
					<TypeBaseRef _id="id7a" ref="id55" name="MdoubleC1C1M" MemberIndex="0"/>
				</OutputPort>
				<Parameter name="LinearizeAsGain" Value="on"/>
				<Parameter name="LowerLimit" Value="1"/>
				<Parameter name="UpperLimit" Value="4"/>
				<Parameter name="ZeroCross" Value="on"/>
			</Primitive>
			<Primitive Tag="" Name="Saturation2" name="Saturation2" Period="0" Deadline="0" Priority="0" BlockType="Saturate" SampleTime="-1.000000" Description="" ExecutionTime="0">
				<InputPort _id="id1a" name="In_1" Number="1" srcLine="id19">
					<TypeBaseRef _id="id73" ref="id55" name="MdoubleC1C1M" MemberIndex="0"/>
				</InputPort>
				<OutputPort _id="id1b" name="Out_1" Number="1" dstLine="id1c">
					<TypeBaseRef _id="id7c" ref="id55" name="MdoubleC1C1M" MemberIndex="0"/>
				</OutputPort>
				<Parameter name="LinearizeAsGain" Value="on"/>
				<Parameter name="LowerLimit" Value="4"/>
				<Parameter name="UpperLimit" Value="4"/>
				<Parameter name="ZeroCross" Value="on"/>
			</Primitive>
			<Primitive Tag="" Name="Saturation3" name="Saturation3" Period="0" Deadline="0" Priority="0" BlockType="Saturate" SampleTime="-1.000000" Description="" ExecutionTime="0">
				<InputPort _id="id2e" name="In_1" Number="1" srcLine="id2d">
					<TypeBaseRef _id="id80" ref="id55" name="MdoubleC1C1M" MemberIndex="0"/>
				</InputPort>
				<OutputPort _id="id1e" name="Out_1" Number="1" dstLine="id1f">
					<TypeBaseRef _id="id84" ref="id55" name="MdoubleC1C1M" MemberIndex="0"/>
				</OutputPort>
				<Parameter name="LinearizeAsGain" Value="on"/>
				<Parameter name="LowerLimit" Value="1"/>
				<Parameter name="UpperLimit" Value="3"/>
				<Parameter name="ZeroCross" Value="on"/>
			</Primitive>
			<Primitive Tag="" Name="Saturation4" name="Saturation4" Period="0" Deadline="0" Priority="0" BlockType="Saturate" SampleTime="-1.000000" Description="" ExecutionTime="0">
				<InputPort _id="id23" name="In_1" Number="1" srcLine="id22">
					<TypeBaseRef _id="id5b" ref="id59" name="MdoubleC3C1M" MemberIndex="0"/>
				</InputPort>
				<OutputPort _id="id24" name="Out_1" Number="1" dstLine="id25">
					<TypeBaseRef _id="id5c" ref="id59" name="MdoubleC3C1M" MemberIndex="0"/>
				</OutputPort>
				<Parameter name="LinearizeAsGain" Value="on"/>
				<Parameter name="LowerLimit" Value="[ 3 5 10]"/>
				<Parameter name="UpperLimit" Value="[ 5 6 15]"/>
				<Parameter name="ZeroCross" Value="on"/>
			</Primitive>
			<Primitive Tag="" Name="Sum" name="Sum" Period="0" Deadline="0" Priority="0" BlockType="Sum" SampleTime="-1.000000" Description="" ExecutionTime="0">
				<InputPort _id="id28" name="In_1" Number="1" srcLine="id27">
					<TypeBaseRef _id="id74" ref="id55" name="MdoubleC1C1M" MemberIndex="0"/>
				</InputPort>
				<InputPort _id="id2b" name="In_2" Number="2" srcLine="id2a">
					<TypeBaseRef _id="id58" ref="id55" name="MdoubleC1C1M" MemberIndex="0"/>
				</InputPort>
				<OutputPort _id="id2c" name="Out_1" Number="1" dstLine="id2d">
					<TypeBaseRef _id="id7f" ref="id55" name="MdoubleC1C1M" MemberIndex="0"/>
				</OutputPort>
				<Parameter name="CollapseDim" Value="1"/>
				<Parameter name="CollapseMode" Value="All dimensions"/>
				<Parameter name="IconShape" Value="round"/>
				<Parameter name="InputSameDT" Value="off"/>
				<Parameter name="Inputs" Value="|++"/>
				<Parameter name="LockScale" Value="off"/>
				<Parameter name="OutDataType" Value="sfix(16)"/>
				<Parameter name="OutDataTypeMode" Value="Inherit via internal rule"/>
				<Parameter name="OutScaling" Value="2^0"/>
				<Parameter name="RndMeth" Value="Floor"/>
				<Parameter name="SaturateOnIntegerOverflow" Value="off"/>
			</Primitive>
			<System Tag="" Name="Counter" name="Counter" Priority="0" BlockType="SubSystem" SampleTime="0.000000" Description="">
				<Line _id="id33" Name="" dstLine_end_="id34" srcLine_end_="id32"/>
				<Line _id="id36" Name="" dstLine_end_="id37" srcLine_end_="id35"/>
				<Line _id="id39" Name="" dstLine_end_="idc" srcLine_end_="id38"/>
				<Line _id="id3b" Name="" dstLine_end_="idd" srcLine_end_="id3a"/>
				<Line _id="id3e" Name="" dstLine_end_="id3f" srcLine_end_="id3d"/>
				<OutputPort _id="idc" name="ctr" Number="1" dstLine="idf id14 id19 id27" srcLine="id39">
					<TypeBaseRef _id="id6c" ref="id55" name="MdoubleC1C1M" MemberIndex="0"/>
				</OutputPort>
				<OutputPort _id="idd" name="data" Number="2" srcLine="id3b">
					<TypeBaseRef _id="id69" ref="id55" name="MdoubleC1C1M" MemberIndex="0"/>
				</OutputPort>
				<Parameter name="ExecuteAtInitialization" Value="on"/>
				<Primitive Tag="" Name="Demux" name="Demux" Period="0" Deadline="0" Priority="0" BlockType="Demux" SampleTime="0.000000" Description="" ExecutionTime="0">
					<InputPort _id="id37" name="In_1" Number="1" srcLine="id36">
						<TypeBaseRef _id="id76" ref="id55" name="MdoubleC1C1M" MemberIndex="0"/>
					</InputPort>
					<OutputPort _id="id3d" name="Out_1" Number="1" dstLine="id3e">
						<TypeBaseRef _id="id82" ref="id55" name="MdoubleC1C1M" MemberIndex="0"/>
					</OutputPort>
					<Parameter name="BusSelectionMode" Value="off"/>
					<Parameter name="DisplayOption" Value="none"/>
					<Parameter name="Outputs" Value="1"/>
				</Primitive>
				<Primitive Tag="" Name="Ground" name="Ground" Period="0" Deadline="0" Priority="0" BlockType="Ground" SampleTime="0.000000" Description="" ExecutionTime="0">
					<OutputPort _id="id32" name="Out_1" Number="1" dstLine="id33">
						<TypeBaseRef _id="id61" ref="id55" name="MdoubleC1C1M" MemberIndex="0"/>
					</OutputPort>
				</Primitive>
				<Primitive Tag="Stateflow S-Function saturate 1" Name="SFunction" name="SFunction" Period="0" Deadline="0" Priority="0" BlockType="S-Function" SampleTime="0.000000" Description="" ExecutionTime="0">
					<ConnectorRef _id="id41" ref="id40" name="Counter"/>
					<InputPort _id="id34" name="In_1" Number="1" srcLine="id33">
						<TypeBaseRef _id="id62" ref="id55" name="MdoubleC1C1M" MemberIndex="0"/>
					</InputPort>
					<OutputPort _id="id35" name="Out_1" Number="1" dstLine="id36">
						<TypeBaseRef _id="id75" ref="id55" name="MdoubleC1C1M" MemberIndex="0"/>
					</OutputPort>
					<OutputPort _id="id38" name="Out_2" Number="2" dstLine="id39">
						<TypeBaseRef _id="id6b" ref="id55" name="MdoubleC1C1M" MemberIndex="0"/>
					</OutputPort>
					<OutputPort _id="id3a" name="Out_3" Number="3" dstLine="id3b">
						<TypeBaseRef _id="id68" ref="id55" name="MdoubleC1C1M" MemberIndex="0"/>
					</OutputPort>
					<Parameter name="FunctionName" Value="sf_sfun"/>
					<Parameter name="Parameters" Value=""/>
					<Parameter name="SFunctionModules" Value="''"/>
				</Primitive>
				<Primitive Tag="" Name="Terminator" name="Terminator" Period="0" Deadline="0" Priority="0" BlockType="Terminator" SampleTime="0.000000" Description="" ExecutionTime="0">
					<InputPort _id="id3f" name="In_1" Number="1" srcLine="id3e">
						<TypeBaseRef _id="id83" ref="id55" name="MdoubleC1C1M" MemberIndex="0"/>
					</InputPort>
				</Primitive>
			</System>
		</System>
	</Dataflow>
	<Stateflow name="Stateflow">
		<State Name="" name="TopLevel" Order="" ExitAction="" EnterAction="" DuringAction="" Decomposition="OR_STATE">
			<State _id="id40" Name="Counter" name="Counter" Order="" ExitAction="" EnterAction="" DuringAction="" Decomposition="OR_STATE" referedbyConnectorRef="id41">
				<Data Max="" Min="" Name="ctr" Port="1" name="ctr" Scope="OUTPUT_DATA" Units="" DataType="double" ArraySize="0" Description="" InitialValue="1" ArrayFirstIndex="0"/>
				<Data Max="" Min="" Name="data" Port="2" name="data" Scope="OUTPUT_DATA" Units="" DataType="double" ArraySize="0" Description="" InitialValue="-1" ArrayFirstIndex="0"/>
				<State _id="id42" Name="s1" name="s1" Order="0" ExitAction="" EnterAction="" DuringAction="" Decomposition="OR_STATE" dstTransition="id47 id48" srcTransition="id45 id47 id48"/>
				<TransStart _id="id46" dstTransition="id45"/>
				<Transition _id="id45" name="" Guard="" Order="1" Action="" Trigger="" ConditionAction="" dstTransition_end_="id42" srcTransition_end_="id46"/>
				<Transition _id="id47" name="" Guard="ctr < 4" Order="1" Action="ctr = ctr+1;" Trigger="" ConditionAction="" dstTransition_end_="id42" srcTransition_end_="id42"/>
				<Transition _id="id48" name="" Guard="ctr >= 4" Order="2" Action="ctr = 0;" Trigger="" ConditionAction="" dstTransition_end_="id42" srcTransition_end_="id42"/>
			</State>
		</State>
	</Stateflow>
	<Types name="Types">
		<Matrix _id="id55" Type="double" name="MdoubleC1C1M" rows="1" columns="1" referedbyTypeStructRef="id57 id58 id61 id62 id68 id69 id6b id6c id71 id72 id73 id74 id75 id76 id78 id79 id7a id7b id7c id7d id7f id80 id82 id83 id84 id85"/>
		<Matrix _id="id59" Type="double" name="MdoubleC3C1M" rows="3" columns="1" referedbyTypeStructRef="id5a id5b id5c id5d"/>
	</Types>
</RootFolder>


text:
@implementation UIFont (ABFramework)

#pragma mark - Custom Font
+(BOOL) fontWithNameExists:(NSString*)name
{
    NSArray *familyNames = [UIFont familyNames];
    for (NSString *familyName in familyNames)
    {
        NSArray *fontNames = [UIFont fontNamesForFamilyName:familyName];
        for (NSString *fontName in fontNames)
        {
            if ([fontName isEqualToString:name])
            {
                return YES;
            }
        }
    }
    return NO;
}

+(UIFont*) customFontWithName:(NSString*)fontName fontPath:(NSString*)fontPath extension:(NSString*)extension size:(CGFloat)size
{
    static dispatch_once_t onceToken;
    dispatch_once(&onceToken, ^{

        NSURL *url = [[NSBundle mainBundle] URLForResource:fontPath withExtension:extension];

        CTFontManagerRegisterFontsForURL((__bridge CFURLRef)url, kCTFontManagerScopeProcess, nil);

    });

    UIFont *font = [UIFont fontWithName:fontName size:size];

    return font;
}

@end


text:
package org.projectfloodlight.openflow.protocol.ver15;

import org.projectfloodlight.openflow.protocol.*;
import org.projectfloodlight.openflow.protocol.action.*;
import org.projectfloodlight.openflow.protocol.actionid.*;
import org.projectfloodlight.openflow.protocol.bsntlv.*;
import org.projectfloodlight.openflow.protocol.errormsg.*;
import org.projectfloodlight.openflow.protocol.meterband.*;
import org.projectfloodlight.openflow.protocol.instruction.*;
import org.projectfloodlight.openflow.protocol.instructionid.*;
import org.projectfloodlight.openflow.protocol.match.*;
import org.projectfloodlight.openflow.protocol.stat.*;
import org.projectfloodlight.openflow.protocol.oxm.*;
import org.projectfloodlight.openflow.protocol.oxs.*;
import org.projectfloodlight.openflow.protocol.queueprop.*;
import org.projectfloodlight.openflow.types.*;
import org.projectfloodlight.openflow.util.*;
import org.projectfloodlight.openflow.exceptions.*;
import java.util.Set;
import java.util.List;

public class OFBsnTlvsVer15 implements OFBsnTlvs {
    public final static OFBsnTlvsVer15 INSTANCE = new OFBsnTlvsVer15();

    public OFBsnTlvActionState.Builder buildActionState() {
        return new OFBsnTlvActionStateVer15.Builder();
    }
    public OFBsnTlvActionState actionState(OFBsnActionState value) {
        return new OFBsnTlvActionStateVer15(
                value
                    );
    }

    public OFBsnTlvActive active() {
        return OFBsnTlvActiveVer15.INSTANCE;
    }

    public OFBsnTlvActorKey.Builder buildActorKey() {
        return new OFBsnTlvActorKeyVer15.Builder();
    }
    public OFBsnTlvActorKey actorKey(int value) {
        return new OFBsnTlvActorKeyVer15(
                value
                    );
    }

    public OFBsnTlvActorPortNum.Builder buildActorPortNum() {
        return new OFBsnTlvActorPortNumVer15.Builder();
    }
    public OFBsnTlvActorPortNum actorPortNum(int value) {
        return new OFBsnTlvActorPortNumVer15(
                value
                    );
    }

    public OFBsnTlvActorPortPriority.Builder buildActorPortPriority() {
        return new OFBsnTlvActorPortPriorityVer15.Builder();
    }
    public OFBsnTlvActorPortPriority actorPortPriority(int value) {
        return new OFBsnTlvActorPortPriorityVer15(
                value
                    );
    }

    public OFBsnTlvActorState.Builder buildActorState() {
        return new OFBsnTlvActorStateVer15.Builder();
    }
    public OFBsnTlvActorState actorState(Set<OFBsnLacpState> value) {
        return new OFBsnTlvActorStateVer15(
                value
                    );
    }

    public OFBsnTlvActorSystemMac.Builder buildActorSystemMac() {
        return new OFBsnTlvActorSystemMacVer15.Builder();
    }
    public OFBsnTlvActorSystemMac actorSystemMac(MacAddress value) {
        return new OFBsnTlvActorSystemMacVer15(
                value
                    );
    }

    public OFBsnTlvActorSystemPriority.Builder buildActorSystemPriority() {
        return new OFBsnTlvActorSystemPriorityVer15.Builder();
    }
    public OFBsnTlvActorSystemPriority actorSystemPriority(int value) {
        return new OFBsnTlvActorSystemPriorityVer15(
                value
                    );
    }

    public OFBsnTlvAdminState.Builder buildAdminState() {
        return new OFBsnTlvAdminStateVer15.Builder();
    }
    public OFBsnTlvAdminState adminState(OFBsnAdminState value) {
        return new OFBsnTlvAdminStateVer15(
                value
                    );
    }

    public OFBsnTlvAnalytics analytics() {
        return OFBsnTlvAnalyticsVer15.INSTANCE;
    }

    public OFBsnTlvAnchor.Builder buildAnchor() {
        return new OFBsnTlvAnchorVer15.Builder();
    }
    public OFBsnTlvAnchor anchor(OFBsnAnchor value) {
        return new OFBsnTlvAnchorVer15(
                value
                    );
    }

    public OFBsnTlvApplyBytes.Builder buildApplyBytes() {
        return new OFBsnTlvApplyBytesVer15.Builder();
    }
    public OFBsnTlvApplyBytes applyBytes(U64 value) {
        return new OFBsnTlvApplyBytesVer15(
                value
                    );
    }

    public OFBsnTlvApplyPackets.Builder buildApplyPackets() {
        return new OFBsnTlvApplyPacketsVer15.Builder();
    }
    public OFBsnTlvApplyPackets applyPackets(U64 value) {
        return new OFBsnTlvApplyPacketsVer15(
                value
                    );
    }

    public OFBsnTlvArpSpa.Builder buildArpSpa() {
        return new OFBsnTlvArpSpaVer15.Builder();
    }
    public OFBsnTlvArpSpa arpSpa(IPv4Address value) {
        return new OFBsnTlvArpSpaVer15(
                value
                    );
    }

    public OFBsnTlvArpTpa.Builder buildArpTpa() {
        return new OFBsnTlvArpTpaVer15.Builder();
    }
    public OFBsnTlvArpTpa arpTpa(IPv4Address value) {
        return new OFBsnTlvArpTpaVer15(
                value
                    );
    }

    public OFBsnTlvAutoNegotiation.Builder buildAutoNegotiation() {
        return new OFBsnTlvAutoNegotiationVer15.Builder();
    }
    public OFBsnTlvAutoNegotiation autoNegotiation(OFBsnAutoNegotiationType value) {
        return new OFBsnTlvAutoNegotiationVer15(
                value
                    );
    }

    public OFBsnTlvBfdEndpoint.Builder buildBfdEndpoint() {
        return new OFBsnTlvBfdEndpointVer15.Builder();
    }
    public OFBsnTlvBfdEndpoint bfdEndpoint(OFBsnBfdEndpoint value) {
        return new OFBsnTlvBfdEndpointVer15(
                value
                    );
    }

    public OFBsnTlvBfdState.Builder buildBfdState() {
        return new OFBsnTlvBfdStateVer15.Builder();
    }
    public OFBsnTlvBfdState bfdState(OFBsnBfdEndpointState value) {
        return new OFBsnTlvBfdStateVer15(
                value
                    );
    }

    public OFBsnTlvBroadcastQueryTimeout.Builder buildBroadcastQueryTimeout() {
        return new OFBsnTlvBroadcastQueryTimeoutVer15.Builder();
    }
    public OFBsnTlvBroadcastQueryTimeout broadcastQueryTimeout(long value) {
        return new OFBsnTlvBroadcastQueryTimeoutVer15(
                value
                    );
    }

    public OFBsnTlvBroadcastRate.Builder buildBroadcastRate() {
        return new OFBsnTlvBroadcastRateVer15.Builder();
    }
    public OFBsnTlvBroadcastRate broadcastRate(long value) {
        return new OFBsnTlvBroadcastRateVer15(
                value
                    );
    }

    public OFBsnTlvBucket.Builder buildBucket() {
        return new OFBsnTlvBucketVer15.Builder();
    }
    public OFBsnTlvBucket bucket(List<OFBsnTlv> value) {
        return new OFBsnTlvBucketVer15(
                value
                    );
    }

    public OFBsnTlvCircuitId.Builder buildCircuitId() {
        return new OFBsnTlvCircuitIdVer15.Builder();
    }
    public OFBsnTlvCircuitId circuitId(byte[] value) {
        return new OFBsnTlvCircuitIdVer15(
                value
                    );
    }

    public OFBsnTlvClientLlAddr clientLlAddr() {
        return OFBsnTlvClientLlAddrVer15.INSTANCE;
    }

    public OFBsnTlvConvergenceStatus.Builder buildConvergenceStatus() {
        return new OFBsnTlvConvergenceStatusVer15.Builder();
    }
    public OFBsnTlvConvergenceStatus convergenceStatus(short value) {
        return new OFBsnTlvConvergenceStatusVer15(
                value
                    );
    }

    public OFBsnTlvCpuLag cpuLag() {
        return OFBsnTlvCpuLagVer15.INSTANCE;
    }

    public OFBsnTlvCrcEnabled.Builder buildCrcEnabled() {
        return new OFBsnTlvCrcEnabledVer15.Builder();
    }
    public OFBsnTlvCrcEnabled crcEnabled(short value) {
        return new OFBsnTlvCrcEnabledVer15(
                value
                    );
    }

    public OFBsnTlvData.Builder buildData() {
        return new OFBsnTlvDataVer15.Builder();
    }
    public OFBsnTlvData data(byte[] value) {
        return new OFBsnTlvDataVer15(
                value
                    );
    }

    public OFBsnTlvDataMask.Builder buildDataMask() {
        return new OFBsnTlvDataMaskVer15.Builder();
    }
    public OFBsnTlvDataMask dataMask(byte[] value) {
        return new OFBsnTlvDataMaskVer15(
                value
                    );
    }

    public OFBsnTlvDecap.Builder buildDecap() {
        return new OFBsnTlvDecapVer15.Builder();
    }
    public OFBsnTlvDecap decap(OFBsnDecap value) {
        return new OFBsnTlvDecapVer15(
                value
                    );
    }

    public OFBsnTlvDisableSrcMacCheck disableSrcMacCheck() {
        return OFBsnTlvDisableSrcMacCheckVer15.INSTANCE;
    }

    public OFBsnTlvDisableXmit disableXmit() {
        return OFBsnTlvDisableXmitVer15.INSTANCE;
    }

    public OFBsnTlvDnsAnalytics dnsAnalytics() {
        return OFBsnTlvDnsAnalyticsVer15.INSTANCE;
    }

    public OFBsnTlvDrop drop() {
        return OFBsnTlvDropVer15.INSTANCE;
    }

    public OFBsnTlvDropControl dropControl() {
        return OFBsnTlvDropControlVer15.INSTANCE;
    }

    public OFBsnTlvDscp.Builder buildDscp() {
        return new OFBsnTlvDscpVer15.Builder();
    }
    public OFBsnTlvDscp dscp(int value) {
        return new OFBsnTlvDscpVer15(
                value
                    );
    }

    public OFBsnTlvEcn.Builder buildEcn() {
        return new OFBsnTlvEcnVer15.Builder();
    }
    public OFBsnTlvEcn ecn(short value) {
        return new OFBsnTlvEcnVer15(
                value
                    );
    }

    public OFBsnTlvEgressOnly egressOnly() {
        return OFBsnTlvEgressOnlyVer15.INSTANCE;
    }

    public OFBsnTlvEgressPortGroupId.Builder buildEgressPortGroupId() {
        return new OFBsnTlvEgressPortGroupIdVer15.Builder();
    }
    public OFBsnTlvEgressPortGroupId egressPortGroupId(long value) {
        return new OFBsnTlvEgressPortGroupIdVer15(
                value
                    );
    }

    public OFBsnTlvEgressSamplingRate.Builder buildEgressSamplingRate() {
        return new OFBsnTlvEgressSamplingRateVer15.Builder();
    }
    public OFBsnTlvEgressSamplingRate egressSamplingRate(long value) {
        return new OFBsnTlvEgressSamplingRateVer15(
                value
                    );
    }

    public OFBsnTlvEncap.Builder buildEncap() {
        return new OFBsnTlvEncapVer15.Builder();
    }
    public OFBsnTlvEncap encap(OFBsnEncap value) {
        return new OFBsnTlvEncapVer15(
                value
                    );
    }

    public OFBsnTlvEnhancedHashCapability.Builder buildEnhancedHashCapability() {
        return new OFBsnTlvEnhancedHashCapabilityVer15.Builder();
    }
    public OFBsnTlvEnhancedHashCapability enhancedHashCapability(Set<OFBsnEnhancedHashType> value) {
        return new OFBsnTlvEnhancedHashCapabilityVer15(
                value
                    );
    }

    public OFBsnTlvEthDst.Builder buildEthDst() {
        return new OFBsnTlvEthDstVer15.Builder();
    }
    public OFBsnTlvEthDst ethDst(MacAddress value) {
        return new OFBsnTlvEthDstVer15(
                value
                    );
    }

    public OFBsnTlvEthSrc.Builder buildEthSrc() {
        return new OFBsnTlvEthSrcVer15.Builder();
    }
    public OFBsnTlvEthSrc ethSrc(MacAddress value) {
        return new OFBsnTlvEthSrcVer15(
                value
                    );
    }

    public OFBsnTlvEthType.Builder buildEthType() {
        return new OFBsnTlvEthTypeVer15.Builder();
    }
    public OFBsnTlvEthType ethType(int value) {
        return new OFBsnTlvEthTypeVer15(
                value
                    );
    }

    public OFBsnTlvExternalGatewayIp.Builder buildExternalGatewayIp() {
        return new OFBsnTlvExternalGatewayIpVer15.Builder();
    }
    public OFBsnTlvExternalGatewayIp externalGatewayIp(IPv4Address value) {
        return new OFBsnTlvExternalGatewayIpVer15(
                value
                    );
    }

    public OFBsnTlvExternalGatewayMac.Builder buildExternalGatewayMac() {
        return new OFBsnTlvExternalGatewayMacVer15.Builder();
    }
    public OFBsnTlvExternalGatewayMac externalGatewayMac(MacAddress value) {
        return new OFBsnTlvExternalGatewayMacVer15(
                value
                    );
    }

    public OFBsnTlvExternalIp.Builder buildExternalIp() {
        return new OFBsnTlvExternalIpVer15.Builder();
    }
    public OFBsnTlvExternalIp externalIp(IPv4Address value) {
        return new OFBsnTlvExternalIpVer15(
                value
                    );
    }

    public OFBsnTlvExternalMac.Builder buildExternalMac() {
        return new OFBsnTlvExternalMacVer15.Builder();
    }
    public OFBsnTlvExternalMac externalMac(MacAddress value) {
        return new OFBsnTlvExternalMacVer15(
                value
                    );
    }

    public OFBsnTlvExternalNetmask.Builder buildExternalNetmask() {
        return new OFBsnTlvExternalNetmaskVer15.Builder();
    }
    public OFBsnTlvExternalNetmask externalNetmask(IPv4Address value) {
        return new OFBsnTlvExternalNetmaskVer15(
                value
                    );
    }

    public OFBsnTlvFabricPortRole.Builder buildFabricPortRole() {
        return new OFBsnTlvFabricPortRoleVer15.Builder();
    }
    public OFBsnTlvFabricPortRole fabricPortRole(OFBsnFabricPortRole value) {
        return new OFBsnTlvFabricPortRoleVer15(
                value
                    );
    }

    public OFBsnTlvFailCount.Builder buildFailCount() {
        return new OFBsnTlvFailCountVer15.Builder();
    }
    public OFBsnTlvFailCount failCount(U64 value) {
        return new OFBsnTlvFailCountVer15(
                value
                    );
    }

    public OFBsnTlvFlood flood() {
        return OFBsnTlvFloodVer15.INSTANCE;
    }

    public OFBsnTlvFlowClassifier.Builder buildFlowClassifier() {
        return new OFBsnTlvFlowClassifierVer15.Builder();
    }
    public OFBsnTlvFlowClassifier flowClassifier(OFBsnFlowClassifier value) {
        return new OFBsnTlvFlowClassifierVer15(
                value
                    );
    }

    public OFBsnTlvFlowClassify flowClassify() {
        return OFBsnTlvFlowClassifyVer15.INSTANCE;
    }

    public OFBsnTlvFlowIdentifier.Builder buildFlowIdentifier() {
        return new OFBsnTlvFlowIdentifierVer15.Builder();
    }
    public OFBsnTlvFlowIdentifier flowIdentifier(long value) {
        return new OFBsnTlvFlowIdentifierVer15(
                value
                    );
    }

    public OFBsnTlvForceLinkUp forceLinkUp() {
        return OFBsnTlvForceLinkUpVer15.INSTANCE;
    }

    public OFBsnTlvForwardErrorCorrection.Builder buildForwardErrorCorrection() {
        return new OFBsnTlvForwardErrorCorrectionVer15.Builder();
    }
    public OFBsnTlvForwardErrorCorrection forwardErrorCorrection(OFBsnForwardErrorCorrectionType value) {
        return new OFBsnTlvForwardErrorCorrectionVer15(
                value
                    );
    }

    public OFBsnTlvFreeCount.Builder buildFreeCount() {
        return new OFBsnTlvFreeCountVer15.Builder();
    }
    public OFBsnTlvFreeCount freeCount(long value) {
        return new OFBsnTlvFreeCountVer15(
                value
                    );
    }

    public OFBsnTlvGenerationId.Builder buildGenerationId() {
        return new OFBsnTlvGenerationIdVer15.Builder();
    }
    public OFBsnTlvGenerationId generationId(U64 value) {
        return new OFBsnTlvGenerationIdVer15(
                value
                    );
    }

    public OFBsnTlvHashAlgorithm.Builder buildHashAlgorithm() {
        return new OFBsnTlvHashAlgorithmVer15.Builder();
    }
    public OFBsnTlvHashAlgorithm hashAlgorithm(OFBsnHashAlgorithmType value) {
        return new OFBsnTlvHashAlgorithmVer15(
                value
                    );
    }

    public OFBsnTlvHashGtpHeaderMatch.Builder buildHashGtpHeaderMatch() {
        return new OFBsnTlvHashGtpHeaderMatchVer15.Builder();
    }
    public OFBsnTlvHashGtpHeaderMatch hashGtpHeaderMatch(short firstHeaderByte, short firstHeaderMask) {
        return new OFBsnTlvHashGtpHeaderMatchVer15(
                firstHeaderByte,
                      firstHeaderMask
                    );
    }

    public OFBsnTlvHashGtpPortMatch.Builder buildHashGtpPortMatch() {
        return new OFBsnTlvHashGtpPortMatchVer15.Builder();
    }

    public OFBsnTlvHashPacketField.Builder buildHashPacketField() {
        return new OFBsnTlvHashPacketFieldVer15.Builder();
    }
    public OFBsnTlvHashPacketField hashPacketField(Set<OFBsnHashPacketField> value) {
        return new OFBsnTlvHashPacketFieldVer15(
                value
                    );
    }

    public OFBsnTlvHashPacketType.Builder buildHashPacketType() {
        return new OFBsnTlvHashPacketTypeVer15.Builder();
    }
    public OFBsnTlvHashPacketType hashPacketType(OFBsnHashPacketType value) {
        return new OFBsnTlvHashPacketTypeVer15(
                value
                    );
    }

    public OFBsnTlvHashSeed.Builder buildHashSeed() {
        return new OFBsnTlvHashSeedVer15.Builder();
    }
    public OFBsnTlvHashSeed hashSeed(long seed1, long seed2) {
        return new OFBsnTlvHashSeedVer15(
                seed1,
                      seed2
                    );
    }

    public OFBsnTlvHashType.Builder buildHashType() {
        return new OFBsnTlvHashTypeVer15.Builder();
    }
    public OFBsnTlvHashType hashType(OFBsnHashType value) {
        return new OFBsnTlvHashTypeVer15(
                value
                    );
    }

    public OFBsnTlvHeaderSize.Builder buildHeaderSize() {
        return new OFBsnTlvHeaderSizeVer15.Builder();
    }
    public OFBsnTlvHeaderSize headerSize(long value) {
        return new OFBsnTlvHeaderSizeVer15(
                value
                    );
    }

    public OFBsnTlvIcmpCode.Builder buildIcmpCode() {
        return new OFBsnTlvIcmpCodeVer15.Builder();
    }
    public OFBsnTlvIcmpCode icmpCode(short value) {
        return new OFBsnTlvIcmpCodeVer15(
                value
                    );
    }

    public OFBsnTlvIcmpId.Builder buildIcmpId() {
        return new OFBsnTlvIcmpIdVer15.Builder();
    }
    public OFBsnTlvIcmpId icmpId(int value) {
        return new OFBsnTlvIcmpIdVer15(
                value
                    );
    }

    public OFBsnTlvIcmpType.Builder buildIcmpType() {
        return new OFBsnTlvIcmpTypeVer15.Builder();
    }
    public OFBsnTlvIcmpType icmpType(short value) {
        return new OFBsnTlvIcmpTypeVer15(
                value
                    );
    }

    public OFBsnTlvIcmpv6Chksum.Builder buildIcmpv6Chksum() {
        return new OFBsnTlvIcmpv6ChksumVer15.Builder();
    }
    public OFBsnTlvIcmpv6Chksum icmpv6Chksum(int value) {
        return new OFBsnTlvIcmpv6ChksumVer15(
                value
                    );
    }

    public OFBsnTlvIcmpv6Code.Builder buildIcmpv6Code() {
        return new OFBsnTlvIcmpv6CodeVer15.Builder();
    }
    public OFBsnTlvIcmpv6Code icmpv6Code(short value) {
        return new OFBsnTlvIcmpv6CodeVer15(
                value
                    );
    }

    public OFBsnTlvIcmpv6Type.Builder buildIcmpv6Type() {
        return new OFBsnTlvIcmpv6TypeVer15.Builder();
    }
    public OFBsnTlvIcmpv6Type icmpv6Type(short value) {
        return new OFBsnTlvIcmpv6TypeVer15(
                value
                    );
    }

    public OFBsnTlvIdentifier.Builder buildIdentifier() {
        return new OFBsnTlvIdentifierVer15.Builder();
    }
    public OFBsnTlvIdentifier identifier(long value) {
        return new OFBsnTlvIdentifierVer15(
                value
                    );
    }

    public OFBsnTlvIdleNotification idleNotification() {
        return OFBsnTlvIdleNotificationVer15.INSTANCE;
    }

    public OFBsnTlvIdleTime.Builder buildIdleTime() {
        return new OFBsnTlvIdleTimeVer15.Builder();
    }
    public OFBsnTlvIdleTime idleTime(U64 value) {
        return new OFBsnTlvIdleTimeVer15(
                value
                    );
    }

    public OFBsnTlvIdleTimeout.Builder buildIdleTimeout() {
        return new OFBsnTlvIdleTimeoutVer15.Builder();
    }
    public OFBsnTlvIdleTimeout idleTimeout(long value) {
        return new OFBsnTlvIdleTimeoutVer15(
                value
                    );
    }

    public OFBsnTlvIfpClassId.Builder buildIfpClassId() {
        return new OFBsnTlvIfpClassIdVer15.Builder();
    }
    public OFBsnTlvIfpClassId ifpClassId(long value) {
        return new OFBsnTlvIfpClassIdVer15(
                value
                    );
    }

    public OFBsnTlvIgmpSnooping igmpSnooping() {
        return OFBsnTlvIgmpSnoopingVer15.INSTANCE;
    }

    public OFBsnTlvIngressPortGroupId.Builder buildIngressPortGroupId() {
        return new OFBsnTlvIngressPortGroupIdVer15.Builder();
    }
    public OFBsnTlvIngressPortGroupId ingressPortGroupId(long value) {
        return new OFBsnTlvIngressPortGroupIdVer15(
                value
                    );
    }

    public OFBsnTlvInnerVlanVid.Builder buildInnerVlanVid() {
        return new OFBsnTlvInnerVlanVidVer15.Builder();
    }
    public OFBsnTlvInnerVlanVid innerVlanVid(int value) {
        return new OFBsnTlvInnerVlanVidVer15(
                value
                    );
    }

    public OFBsnTlvInternalGatewayMac.Builder buildInternalGatewayMac() {
        return new OFBsnTlvInternalGatewayMacVer15.Builder();
    }
    public OFBsnTlvInternalGatewayMac internalGatewayMac(MacAddress value) {
        return new OFBsnTlvInternalGatewayMacVer15(
                value
                    );
    }

    public OFBsnTlvInternalMac.Builder buildInternalMac() {
        return new OFBsnTlvInternalMacVer15.Builder();
    }
    public OFBsnTlvInternalMac internalMac(MacAddress value) {
        return new OFBsnTlvInternalMacVer15(
                value
                    );
    }

    public OFBsnTlvInterval.Builder buildInterval() {
        return new OFBsnTlvIntervalVer15.Builder();
    }
    public OFBsnTlvInterval interval(long value) {
        return new OFBsnTlvIntervalVer15(
                value
                    );
    }

    public OFBsnTlvIpFragmentation.Builder buildIpFragmentation() {
        return new OFBsnTlvIpFragmentationVer15.Builder();
    }
    public OFBsnTlvIpFragmentation ipFragmentation(OFBsnIpFragmentation value) {
        return new OFBsnTlvIpFragmentationVer15(
                value
                    );
    }

    public OFBsnTlvIpProto.Builder buildIpProto() {
        return new OFBsnTlvIpProtoVer15.Builder();
    }
    public OFBsnTlvIpProto ipProto(short value) {
        return new OFBsnTlvIpProtoVer15(
                value
                    );
    }

    public OFBsnTlvIpTunnelType.Builder buildIpTunnelType() {
        return new OFBsnTlvIpTunnelTypeVer15.Builder();
    }
    public OFBsnTlvIpTunnelType ipTunnelType(OFBsnIpTunnelType value) {
        return new OFBsnTlvIpTunnelTypeVer15(
                value
                    );
    }

    public OFBsnTlvIpv4.Builder buildIpv4() {
        return new OFBsnTlvIpv4Ver15.Builder();
    }
    public OFBsnTlvIpv4 ipv4(IPv4Address value) {
        return new OFBsnTlvIpv4Ver15(
                value
                    );
    }

    public OFBsnTlvIpv4Dst.Builder buildIpv4Dst() {
        return new OFBsnTlvIpv4DstVer15.Builder();
    }
    public OFBsnTlvIpv4Dst ipv4Dst(IPv4Address value) {
        return new OFBsnTlvIpv4DstVer15(
                value
                    );
    }

    public OFBsnTlvIpv4Netmask.Builder buildIpv4Netmask() {
        return new OFBsnTlvIpv4NetmaskVer15.Builder();
    }
    public OFBsnTlvIpv4Netmask ipv4Netmask(IPv4Address value) {
        return new OFBsnTlvIpv4NetmaskVer15(
                value
                    );
    }

    public OFBsnTlvIpv4Src.Builder buildIpv4Src() {
        return new OFBsnTlvIpv4SrcVer15.Builder();
    }
    public OFBsnTlvIpv4Src ipv4Src(IPv4Address value) {
        return new OFBsnTlvIpv4SrcVer15(
                value
                    );
    }

    public OFBsnTlvIpv6.Builder buildIpv6() {
        return new OFBsnTlvIpv6Ver15.Builder();
    }
    public OFBsnTlvIpv6 ipv6(IPv6Address value) {
        return new OFBsnTlvIpv6Ver15(
                value
                    );
    }

    public OFBsnTlvIpv6Dst.Builder buildIpv6Dst() {
        return new OFBsnTlvIpv6DstVer15.Builder();
    }
    public OFBsnTlvIpv6Dst ipv6Dst(IPv6Address value) {
        return new OFBsnTlvIpv6DstVer15(
                value
                    );
    }

    public OFBsnTlvIpv6Prefix.Builder buildIpv6Prefix() {
        return new OFBsnTlvIpv6PrefixVer15.Builder();
    }
    public OFBsnTlvIpv6Prefix ipv6Prefix(IPv6Address value, short prefixLength) {
        return new OFBsnTlvIpv6PrefixVer15(
                value,
                      prefixLength
                    );
    }

    public OFBsnTlvIpv6Src.Builder buildIpv6Src() {
        return new OFBsnTlvIpv6SrcVer15.Builder();
    }
    public OFBsnTlvIpv6Src ipv6Src(IPv6Address value) {
        return new OFBsnTlvIpv6SrcVer15(
                value
                    );
    }

    public OFBsnTlvKnownMulticastRate.Builder buildKnownMulticastRate() {
        return new OFBsnTlvKnownMulticastRateVer15.Builder();
    }
    public OFBsnTlvKnownMulticastRate knownMulticastRate(long value) {
        return new OFBsnTlvKnownMulticastRateVer15(
                value
                    );
    }

    public OFBsnTlvL2CacheHit l2CacheHit() {
        return OFBsnTlvL2CacheHitVer15.INSTANCE;
    }

    public OFBsnTlvL2MulticastLookup l2MulticastLookup() {
        return OFBsnTlvL2MulticastLookupVer15.INSTANCE;
    }

    public OFBsnTlvL3 l3() {
        return OFBsnTlvL3Ver15.INSTANCE;
    }

    public OFBsnTlvL3DstClassId.Builder buildL3DstClassId() {
        return new OFBsnTlvL3DstClassIdVer15.Builder();
    }
    public OFBsnTlvL3DstClassId l3DstClassId(long value) {
        return new OFBsnTlvL3DstClassIdVer15(
                value
                    );
    }

    public OFBsnTlvL3InterfaceClassId.Builder buildL3InterfaceClassId() {
        return new OFBsnTlvL3InterfaceClassIdVer15.Builder();
    }
    public OFBsnTlvL3InterfaceClassId l3InterfaceClassId(long value) {
        return new OFBsnTlvL3InterfaceClassIdVer15(
                value
                    );
    }

    public OFBsnTlvL3SrcClassId.Builder buildL3SrcClassId() {
        return new OFBsnTlvL3SrcClassIdVer15.Builder();
    }
    public OFBsnTlvL3SrcClassId l3SrcClassId(long value) {
        return new OFBsnTlvL3SrcClassIdVer15(
                value
                    );
    }

    public OFBsnTlvLagOptions.Builder buildLagOptions() {
        return new OFBsnTlvLagOptionsVer15.Builder();
    }
    public OFBsnTlvLagOptions lagOptions(Set<OFBsnLagFlag> flags) {
        return new OFBsnTlvLagOptionsVer15(
                flags
                    );
    }

    public OFBsnTlvLagType.Builder buildLagType() {
        return new OFBsnTlvLagTypeVer15.Builder();
    }
    public OFBsnTlvLagType lagType(OFBsnLagType value) {
        return new OFBsnTlvLagTypeVer15(
                value
                    );
    }

    public OFBsnTlvLcore.Builder buildLcore() {
        return new OFBsnTlvLcoreVer15.Builder();
    }
    public OFBsnTlvLcore lcore(long value) {
        return new OFBsnTlvLcoreVer15(
                value
                    );
    }

    public OFBsnTlvLinkUp linkUp() {
        return OFBsnTlvLinkUpVer15.INSTANCE;
    }

    public OFBsnTlvLoad.Builder buildLoad() {
        return new OFBsnTlvLoadVer15.Builder();
    }
    public OFBsnTlvLoad load(long value) {
        return new OFBsnTlvLoadVer15(
                value
                    );
    }

    public OFBsnTlvLookupCount.Builder buildLookupCount() {
        return new OFBsnTlvLookupCountVer15.Builder();
    }
    public OFBsnTlvLookupCount lookupCount(U64 value) {
        return new OFBsnTlvLookupCountVer15(
                value
                    );
    }

    public OFBsnTlvLoopbackMode.Builder buildLoopbackMode() {
        return new OFBsnTlvLoopbackModeVer15.Builder();
    }
    public OFBsnTlvLoopbackMode loopbackMode(OFBsnLoopbackMode value) {
        return new OFBsnTlvLoopbackModeVer15(
                value
                    );
    }

    public OFBsnTlvLoopbackPort.Builder buildLoopbackPort() {
        return new OFBsnTlvLoopbackPortVer15.Builder();
    }
    public OFBsnTlvLoopbackPort loopbackPort(OFPort value) {
        return new OFBsnTlvLoopbackPortVer15(
                value
                    );
    }

    public OFBsnTlvLossless lossless() {
        return OFBsnTlvLosslessVer15.INSTANCE;
    }

    public OFBsnTlvLrAllEnabled lrAllEnabled() {
        return OFBsnTlvLrAllEnabledVer15.INSTANCE;
    }

    public OFBsnTlvMac.Builder buildMac() {
        return new OFBsnTlvMacVer15.Builder();
    }
    public OFBsnTlvMac mac(MacAddress value) {
        return new OFBsnTlvMacVer15(
                value
                    );
    }

    public OFBsnTlvMacMask.Builder buildMacMask() {
        return new OFBsnTlvMacMaskVer15.Builder();
    }
    public OFBsnTlvMacMask macMask(MacAddress value) {
        return new OFBsnTlvMacMaskVer15(
                value
                    );
    }

    public OFBsnTlvMatchedCount.Builder buildMatchedCount() {
        return new OFBsnTlvMatchedCountVer15.Builder();
    }
    public OFBsnTlvMatchedCount matchedCount(U64 value) {
        return new OFBsnTlvMatchedCountVer15(
                value
                    );
    }

    public OFBsnTlvMaxCount.Builder buildMaxCount() {
        return new OFBsnTlvMaxCountVer15.Builder();
    }
    public OFBsnTlvMaxCount maxCount(long value) {
        return new OFBsnTlvMaxCountVer15(
                value
                    );
    }

    public OFBsnTlvMcgTypeVxlan mcgTypeVxlan() {
        return OFBsnTlvMcgTypeVxlanVer15.INSTANCE;
    }

    public OFBsnTlvMetadata.Builder buildMetadata() {
        return new OFBsnTlvMetadataVer15.Builder();
    }
    public OFBsnTlvMetadata metadata(OFBsnMetadata value) {
        return new OFBsnTlvMetadataVer15(
                value
                    );
    }

    public OFBsnTlvMgmt.Builder buildMgmt() {
        return new OFBsnTlvMgmtVer15.Builder();
    }
    public OFBsnTlvMgmt mgmt(long value) {
        return new OFBsnTlvMgmtVer15(
                value
                    );
    }

    public OFBsnTlvMgmtReselectOnFailure mgmtReselectOnFailure() {
        return OFBsnTlvMgmtReselectOnFailureVer15.INSTANCE;
    }

    public OFBsnTlvMissPackets.Builder buildMissPackets() {
        return new OFBsnTlvMissPacketsVer15.Builder();
    }
    public OFBsnTlvMissPackets missPackets(U64 value) {
        return new OFBsnTlvMissPacketsVer15(
                value
                    );
    }

    public OFBsnTlvMplsControlWord.Builder buildMplsControlWord() {
        return new OFBsnTlvMplsControlWordVer15.Builder();
    }
    public OFBsnTlvMplsControlWord mplsControlWord(short value) {
        return new OFBsnTlvMplsControlWordVer15(
                value
                    );
    }

    public OFBsnTlvMplsLabel.Builder buildMplsLabel() {
        return new OFBsnTlvMplsLabelVer15.Builder();
    }
    public OFBsnTlvMplsLabel mplsLabel(long value) {
        return new OFBsnTlvMplsLabelVer15(
                value
                    );
    }

    public OFBsnTlvMplsSequenced.Builder buildMplsSequenced() {
        return new OFBsnTlvMplsSequencedVer15.Builder();
    }
    public OFBsnTlvMplsSequenced mplsSequenced(short value) {
        return new OFBsnTlvMplsSequencedVer15(
                value
                    );
    }

    public OFBsnTlvMulticastInterfaceId.Builder buildMulticastInterfaceId() {
        return new OFBsnTlvMulticastInterfaceIdVer15.Builder();
    }
    public OFBsnTlvMulticastInterfaceId multicastInterfaceId(long value) {
        return new OFBsnTlvMulticastInterfaceIdVer15(
                value
                    );
    }

    public OFBsnTlvMulticastPacket.Builder buildMulticastPacket() {
        return new OFBsnTlvMulticastPacketVer15.Builder();
    }
    public OFBsnTlvMulticastPacket multicastPacket(OFBsnMulticastPacket value) {
        return new OFBsnTlvMulticastPacketVer15(
                value
                    );
    }

    public OFBsnTlvMultiplier.Builder buildMultiplier() {
        return new OFBsnTlvMultiplierVer15.Builder();
    }
    public OFBsnTlvMultiplier multiplier(long value) {
        return new OFBsnTlvMultiplierVer15(
                value
                    );
    }

    public OFBsnTlvName.Builder buildName() {
        return new OFBsnTlvNameVer15.Builder();
    }
    public OFBsnTlvName name(byte[] value) {
        return new OFBsnTlvNameVer15(
                value
                    );
    }

    public OFBsnTlvNdpOffload ndpOffload() {
        return OFBsnTlvNdpOffloadVer15.INSTANCE;
    }

    public OFBsnTlvNdpStatic ndpStatic() {
        return OFBsnTlvNdpStaticVer15.INSTANCE;
    }

    public OFBsnTlvNegate negate() {
        return OFBsnTlvNegateVer15.INSTANCE;
    }

    public OFBsnTlvNextHopIpv4.Builder buildNextHopIpv4() {
        return new OFBsnTlvNextHopIpv4Ver15.Builder();
    }
    public OFBsnTlvNextHopIpv4 nextHopIpv4(IPv4Address value) {
        return new OFBsnTlvNextHopIpv4Ver15(
                value
                    );
    }

    public OFBsnTlvNextHopMac.Builder buildNextHopMac() {
        return new OFBsnTlvNextHopMacVer15.Builder();
    }
    public OFBsnTlvNextHopMac nextHopMac(MacAddress value) {
        return new OFBsnTlvNextHopMacVer15(
                value
                    );
    }

    public OFBsnTlvNexthopTypeVxlan nexthopTypeVxlan() {
        return OFBsnTlvNexthopTypeVxlanVer15.INSTANCE;
    }

    public OFBsnTlvNoArpResponse noArpResponse() {
        return OFBsnTlvNoArpResponseVer15.INSTANCE;
    }

    public OFBsnTlvNoDrop noDrop() {
        return OFBsnTlvNoDropVer15.INSTANCE;
    }

    public OFBsnTlvNoNsResponse noNsResponse() {
        return OFBsnTlvNoNsResponseVer15.INSTANCE;
    }

    public OFBsnTlvOffset.Builder buildOffset() {
        return new OFBsnTlvOffsetVer15.Builder();
    }
    public OFBsnTlvOffset offset(int value) {
        return new OFBsnTlvOffsetVer15(
                value
                    );
    }

    public OFBsnTlvOpticsAlwaysEnabled opticsAlwaysEnabled() {
        return OFBsnTlvOpticsAlwaysEnabledVer15.INSTANCE;
    }

    public OFBsnTlvOuterSrcMac.Builder buildOuterSrcMac() {
        return new OFBsnTlvOuterSrcMacVer15.Builder();
    }
    public OFBsnTlvOuterSrcMac outerSrcMac(MacAddress value) {
        return new OFBsnTlvOuterSrcMacVer15(
                value
                    );
    }

    public OFBsnTlvPacketField.Builder buildPacketField() {
        return new OFBsnTlvPacketFieldVer15.Builder();
    }
    public OFBsnTlvPacketField packetField(OFBsnPacketField value) {
        return new OFBsnTlvPacketFieldVer15(
                value
                    );
    }

    public OFBsnTlvParentPort.Builder buildParentPort() {
        return new OFBsnTlvParentPortVer15.Builder();
    }
    public OFBsnTlvParentPort parentPort(OFPort value) {
        return new OFBsnTlvParentPortVer15(
                value
                    );
    }

    public OFBsnTlvPartnerKey.Builder buildPartnerKey() {
        return new OFBsnTlvPartnerKeyVer15.Builder();
    }
    public OFBsnTlvPartnerKey partnerKey(int value) {
        return new OFBsnTlvPartnerKeyVer15(
                value
                    );
    }

    public OFBsnTlvPartnerPortNum.Builder buildPartnerPortNum() {
        return new OFBsnTlvPartnerPortNumVer15.Builder();
    }
    public OFBsnTlvPartnerPortNum partnerPortNum(int value) {
        return new OFBsnTlvPartnerPortNumVer15(
                value
                    );
    }

    public OFBsnTlvPartnerPortPriority.Builder buildPartnerPortPriority() {
        return new OFBsnTlvPartnerPortPriorityVer15.Builder();
    }
    public OFBsnTlvPartnerPortPriority partnerPortPriority(int value) {
        return new OFBsnTlvPartnerPortPriorityVer15(
                value
                    );
    }

    public OFBsnTlvPartnerState.Builder buildPartnerState() {
        return new OFBsnTlvPartnerStateVer15.Builder();
    }
    public OFBsnTlvPartnerState partnerState(Set<OFBsnLacpState> value) {
        return new OFBsnTlvPartnerStateVer15(
                value
                    );
    }

    public OFBsnTlvPartnerSystemMac.Builder buildPartnerSystemMac() {
        return new OFBsnTlvPartnerSystemMacVer15.Builder();
    }
    public OFBsnTlvPartnerSystemMac partnerSystemMac(MacAddress value) {
        return new OFBsnTlvPartnerSystemMacVer15(
                value
                    );
    }

    public OFBsnTlvPartnerSystemPriority.Builder buildPartnerSystemPriority() {
        return new OFBsnTlvPartnerSystemPriorityVer15.Builder();
    }
    public OFBsnTlvPartnerSystemPriority partnerSystemPriority(int value) {
        return new OFBsnTlvPartnerSystemPriorityVer15(
                value
                    );
    }

    public OFBsnTlvPassive passive() {
        return OFBsnTlvPassiveVer15.INSTANCE;
    }

    public OFBsnTlvPduaRxInstance.Builder buildPduaRxInstance() {
        return new OFBsnTlvPduaRxInstanceVer15.Builder();
    }
    public OFBsnTlvPduaRxInstance pduaRxInstance(byte[] value) {
        return new OFBsnTlvPduaRxInstanceVer15(
                value
                    );
    }

    public OFBsnTlvPimDr pimDr() {
        return OFBsnTlvPimDrVer15.INSTANCE;
    }

    public OFBsnTlvPimHelloFlood pimHelloFlood() {
        return OFBsnTlvPimHelloFloodVer15.INSTANCE;
    }

    public OFBsnTlvPort.Builder buildPort() {
        return new OFBsnTlvPortVer15.Builder();
    }
    public OFBsnTlvPort port(OFPort value) {
        return new OFBsnTlvPortVer15(
                value
                    );
    }

    public OFBsnTlvPortMode.Builder buildPortMode() {
        return new OFBsnTlvPortModeVer15.Builder();
    }
    public OFBsnTlvPortMode portMode(OFBsnPortMode value) {
        return new OFBsnTlvPortModeVer15(
                value
                    );
    }

    public OFBsnTlvPortSpeedGbps.Builder buildPortSpeedGbps() {
        return new OFBsnTlvPortSpeedGbpsVer15.Builder();
    }
    public OFBsnTlvPortSpeedGbps portSpeedGbps(long value) {
        return new OFBsnTlvPortSpeedGbpsVer15(
                value
                    );
    }

    public OFBsnTlvPortUsage.Builder buildPortUsage() {
        return new OFBsnTlvPortUsageVer15.Builder();
    }
    public OFBsnTlvPortUsage portUsage(OFBsnPortUsage value) {
        return new OFBsnTlvPortUsageVer15(
                value
                    );
    }

    public OFBsnTlvPortVxlanMode.Builder buildPortVxlanMode() {
        return new OFBsnTlvPortVxlanModeVer15.Builder();
    }
    public OFBsnTlvPortVxlanMode portVxlanMode(OFBsnPortVxlanMode value) {
        return new OFBsnTlvPortVxlanModeVer15(
                value
                    );
    }

    public OFBsnTlvPreserveVlan preserveVlan() {
        return OFBsnTlvPreserveVlanVer15.INSTANCE;
    }

    public OFBsnTlvPriority.Builder buildPriority() {
        return new OFBsnTlvPriorityVer15.Builder();
    }
    public OFBsnTlvPriority priority(long value) {
        return new OFBsnTlvPriorityVer15(
                value
                    );
    }

    public OFBsnTlvPushTwoPerPolicy pushTwoPerPolicy() {
        return OFBsnTlvPushTwoPerPolicyVer15.INSTANCE;
    }

    public OFBsnTlvPushTwoTagsCapability.Builder buildPushTwoTagsCapability() {
        return new OFBsnTlvPushTwoTagsCapabilityVer15.Builder();
    }
    public OFBsnTlvPushTwoTagsCapability pushTwoTagsCapability(Set<OFBsnPushTwoTagsMode> value) {
        return new OFBsnTlvPushTwoTagsCapabilityVer15(
                value
                    );
    }

    public OFBsnTlvPushVlanOnEgress pushVlanOnEgress() {
        return OFBsnTlvPushVlanOnEgressVer15.INSTANCE;
    }

    public OFBsnTlvPushVlanOnIngress.Builder buildPushVlanOnIngress() {
        return new OFBsnTlvPushVlanOnIngressVer15.Builder();
    }
    public OFBsnTlvPushVlanOnIngress pushVlanOnIngress(Set<OFBsnPushVlan> flags) {
        return new OFBsnTlvPushVlanOnIngressVer15(
                flags
                    );
    }

    public OFBsnTlvQosPriority.Builder buildQosPriority() {
        return new OFBsnTlvQosPriorityVer15.Builder();
    }
    public OFBsnTlvQosPriority qosPriority(long value) {
        return new OFBsnTlvQosPriorityVer15(
                value
                    );
    }

    public OFBsnTlvQueueId.Builder buildQueueId() {
        return new OFBsnTlvQueueIdVer15.Builder();
    }
    public OFBsnTlvQueueId queueId(long value) {
        return new OFBsnTlvQueueIdVer15(
                value
                    );
    }

    public OFBsnTlvQueueWeight.Builder buildQueueWeight() {
        return new OFBsnTlvQueueWeightVer15.Builder();
    }
    public OFBsnTlvQueueWeight queueWeight(long value) {
        return new OFBsnTlvQueueWeightVer15(
                value
                    );
    }

    public OFBsnTlvRateLimit.Builder buildRateLimit() {
        return new OFBsnTlvRateLimitVer15.Builder();
    }
    public OFBsnTlvRateLimit rateLimit(long value) {
        return new OFBsnTlvRateLimitVer15(
                value
                    );
    }

    public OFBsnTlvRateUnit.Builder buildRateUnit() {
        return new OFBsnTlvRateUnitVer15.Builder();
    }
    public OFBsnTlvRateUnit rateUnit(OFBsnRateUnit value) {
        return new OFBsnTlvRateUnitVer15(
                value
                    );
    }

    public OFBsnTlvRecordPackets.Builder buildRecordPackets() {
        return new OFBsnTlvRecordPacketsVer15.Builder();
    }
    public OFBsnTlvRecordPackets recordPackets(long value) {
        return new OFBsnTlvRecordPacketsVer15(
                value
                    );
    }

    public OFBsnTlvRedundantMgmt redundantMgmt() {
        return OFBsnTlvRedundantMgmtVer15.INSTANCE;
    }

    public OFBsnTlvReference.Builder buildReference() {
        return new OFBsnTlvReferenceVer15.Builder();
    }
    public OFBsnTlvReference reference(int tableId, List<OFBsnTlv> key) {
        return new OFBsnTlvReferenceVer15(
                tableId,
                      key
                    );
    }

    public OFBsnTlvRemoteId.Builder buildRemoteId() {
        return new OFBsnTlvRemoteIdVer15.Builder();
    }
    public OFBsnTlvRemoteId remoteId(byte[] value) {
        return new OFBsnTlvRemoteIdVer15(
                value
                    );
    }

    public OFBsnTlvReplyPackets.Builder buildReplyPackets() {
        return new OFBsnTlvReplyPacketsVer15.Builder();
    }
    public OFBsnTlvReplyPackets replyPackets(U64 value) {
        return new OFBsnTlvReplyPacketsVer15(
                value
                    );
    }

    public OFBsnTlvRequestPackets.Builder buildRequestPackets() {
        return new OFBsnTlvRequestPacketsVer15.Builder();
    }
    public OFBsnTlvRequestPackets requestPackets(U64 value) {
        return new OFBsnTlvRequestPacketsVer15(
                value
                    );
    }

    public OFBsnTlvRestServer restServer() {
        return OFBsnTlvRestServerVer15.INSTANCE;
    }

    public OFBsnTlvRoutingParam.Builder buildRoutingParam() {
        return new OFBsnTlvRoutingParamVer15.Builder();
    }
    public OFBsnTlvRoutingParam routingParam(OFBsnRoutingParam value) {
        return new OFBsnTlvRoutingParamVer15(
                value
                    );
    }

    public OFBsnTlvRxBytes.Builder buildRxBytes() {
        return new OFBsnTlvRxBytesVer15.Builder();
    }
    public OFBsnTlvRxBytes rxBytes(U64 value) {
        return new OFBsnTlvRxBytesVer15(
                value
                    );
    }

    public OFBsnTlvRxPackets.Builder buildRxPackets() {
        return new OFBsnTlvRxPacketsVer15.Builder();
    }
    public OFBsnTlvRxPackets rxPackets(U64 value) {
        return new OFBsnTlvRxPacketsVer15(
                value
                    );
    }

    public OFBsnTlvSamplingRate.Builder buildSamplingRate() {
        return new OFBsnTlvSamplingRateVer15.Builder();
    }
    public OFBsnTlvSamplingRate samplingRate(long value) {
        return new OFBsnTlvSamplingRateVer15(
                value
                    );
    }

    public OFBsnTlvSctpDst.Builder buildSctpDst() {
        return new OFBsnTlvSctpDstVer15.Builder();
    }
    public OFBsnTlvSctpDst sctpDst(int value) {
        return new OFBsnTlvSctpDstVer15(
                value
                    );
    }

    public OFBsnTlvSctpSrc.Builder buildSctpSrc() {
        return new OFBsnTlvSctpSrcVer15.Builder();
    }
    public OFBsnTlvSctpSrc sctpSrc(int value) {
        return new OFBsnTlvSctpSrcVer15(
                value
                    );
    }

    public OFBsnTlvSetLoopbackMode setLoopbackMode() {
        return OFBsnTlvSetLoopbackModeVer15.INSTANCE;
    }

    public OFBsnTlvSocket.Builder buildSocket() {
        return new OFBsnTlvSocketVer15.Builder();
    }
    public OFBsnTlvSocket socket(long value) {
        return new OFBsnTlvSocketVer15(
                value
                    );
    }

    public OFBsnTlvSrcMacCml.Builder buildSrcMacCml() {
        return new OFBsnTlvSrcMacCmlVer15.Builder();
    }
    public OFBsnTlvSrcMacCml srcMacCml(OFBsnCml value) {
        return new OFBsnTlvSrcMacCmlVer15(
                value
                    );
    }

    public OFBsnTlvStatus.Builder buildStatus() {
        return new OFBsnTlvStatusVer15.Builder();
    }
    public OFBsnTlvStatus status(OFBsnStatus value) {
        return new OFBsnTlvStatusVer15(
                value
                    );
    }

    public OFBsnTlvStripMplsL2OnIngress stripMplsL2OnIngress() {
        return OFBsnTlvStripMplsL2OnIngressVer15.INSTANCE;
    }

    public OFBsnTlvStripMplsL3OnIngress stripMplsL3OnIngress() {
        return OFBsnTlvStripMplsL3OnIngressVer15.INSTANCE;
    }

    public OFBsnTlvStripVlanOnEgress.Builder buildStripVlanOnEgress() {
        return new OFBsnTlvStripVlanOnEgressVer15.Builder();
    }
    public OFBsnTlvStripVlanOnEgress stripVlanOnEgress(Set<OFBsnStripVlan> flags) {
        return new OFBsnTlvStripVlanOnEgressVer15(
                flags
                    );
    }

    public OFBsnTlvSubAgentId.Builder buildSubAgentId() {
        return new OFBsnTlvSubAgentIdVer15.Builder();
    }
    public OFBsnTlvSubAgentId subAgentId(long value) {
        return new OFBsnTlvSubAgentIdVer15(
                value
                    );
    }

    public OFBsnTlvSwlFeature.Builder buildSwlFeature() {
        return new OFBsnTlvSwlFeatureVer15.Builder();
    }
    public OFBsnTlvSwlFeature swlFeature(OFBsnSwlFeature value) {
        return new OFBsnTlvSwlFeatureVer15(
                value
                    );
    }

    public OFBsnTlvTcpDst.Builder buildTcpDst() {
        return new OFBsnTlvTcpDstVer15.Builder();
    }
    public OFBsnTlvTcpDst tcpDst(int value) {
        return new OFBsnTlvTcpDstVer15(
                value
                    );
    }

    public OFBsnTlvTcpFlags.Builder buildTcpFlags() {
        return new OFBsnTlvTcpFlagsVer15.Builder();
    }
    public OFBsnTlvTcpFlags tcpFlags(int value) {
        return new OFBsnTlvTcpFlagsVer15(
                value
                    );
    }

    public OFBsnTlvTcpSrc.Builder buildTcpSrc() {
        return new OFBsnTlvTcpSrcVer15.Builder();
    }
    public OFBsnTlvTcpSrc tcpSrc(int value) {
        return new OFBsnTlvTcpSrcVer15(
                value
                    );
    }

    public OFBsnTlvThread.Builder buildThread() {
        return new OFBsnTlvThreadVer15.Builder();
    }
    public OFBsnTlvThread thread(long value) {
        return new OFBsnTlvThreadVer15(
                value
                    );
    }

    public OFBsnTlvTimestamp.Builder buildTimestamp() {
        return new OFBsnTlvTimestampVer15.Builder();
    }
    public OFBsnTlvTimestamp timestamp(U64 value) {
        return new OFBsnTlvTimestampVer15(
                value
                    );
    }

    public OFBsnTlvTtl.Builder buildTtl() {
        return new OFBsnTlvTtlVer15.Builder();
    }
    public OFBsnTlvTtl ttl(int value) {
        return new OFBsnTlvTtlVer15(
                value
                    );
    }

    public OFBsnTlvTunnelCapability.Builder buildTunnelCapability() {
        return new OFBsnTlvTunnelCapabilityVer15.Builder();
    }
    public OFBsnTlvTunnelCapability tunnelCapability(Set<OFBsnTunnelType> value) {
        return new OFBsnTlvTunnelCapabilityVer15(
                value
                    );
    }

    public OFBsnTlvTxBytes.Builder buildTxBytes() {
        return new OFBsnTlvTxBytesVer15.Builder();
    }
    public OFBsnTlvTxBytes txBytes(U64 value) {
        return new OFBsnTlvTxBytesVer15(
                value
                    );
    }

    public OFBsnTlvTxPackets.Builder buildTxPackets() {
        return new OFBsnTlvTxPacketsVer15.Builder();
    }
    public OFBsnTlvTxPackets txPackets(U64 value) {
        return new OFBsnTlvTxPacketsVer15(
                value
                    );
    }

    public OFBsnTlvUdfAnchor.Builder buildUdfAnchor() {
        return new OFBsnTlvUdfAnchorVer15.Builder();
    }
    public OFBsnTlvUdfAnchor udfAnchor(OFBsnUdfAnchor value) {
        return new OFBsnTlvUdfAnchorVer15(
                value
                    );
    }

    public OFBsnTlvUdfCapability.Builder buildUdfCapability() {
        return new OFBsnTlvUdfCapabilityVer15.Builder();
    }
    public OFBsnTlvUdfCapability udfCapability(Set<OFBsnUdfMode> value) {
        return new OFBsnTlvUdfCapabilityVer15(
                value
                    );
    }

    public OFBsnTlvUdfData.Builder buildUdfData() {
        return new OFBsnTlvUdfDataVer15.Builder();
    }
    public OFBsnTlvUdfData udfData(long value) {
        return new OFBsnTlvUdfDataVer15(
                value
                    );
    }

    public OFBsnTlvUdfId.Builder buildUdfId() {
        return new OFBsnTlvUdfIdVer15.Builder();
    }
    public OFBsnTlvUdfId udfId(int value) {
        return new OFBsnTlvUdfIdVer15(
                value
                    );
    }

    public OFBsnTlvUdfLength.Builder buildUdfLength() {
        return new OFBsnTlvUdfLengthVer15.Builder();
    }
    public OFBsnTlvUdfLength udfLength(int value) {
        return new OFBsnTlvUdfLengthVer15(
                value
                    );
    }

    public OFBsnTlvUdfOffset.Builder buildUdfOffset() {
        return new OFBsnTlvUdfOffsetVer15.Builder();
    }
    public OFBsnTlvUdfOffset udfOffset(int value) {
        return new OFBsnTlvUdfOffsetVer15(
                value
                    );
    }

    public OFBsnTlvUdpDst.Builder buildUdpDst() {
        return new OFBsnTlvUdpDstVer15.Builder();
    }
    public OFBsnTlvUdpDst udpDst(int value) {
        return new OFBsnTlvUdpDstVer15(
                value
                    );
    }

    public OFBsnTlvUdpSrc.Builder buildUdpSrc() {
        return new OFBsnTlvUdpSrcVer15.Builder();
    }
    public OFBsnTlvUdpSrc udpSrc(int value) {
        return new OFBsnTlvUdpSrcVer15(
                value
                    );
    }

    public OFBsnTlvUint32.Builder buildUint32() {
        return new OFBsnTlvUint32Ver15.Builder();
    }
    public OFBsnTlvUint32 uint32(long value) {
        return new OFBsnTlvUint32Ver15(
                value
                    );
    }

    public OFBsnTlvUint64List.Builder buildUint64List() {
        return new OFBsnTlvUint64ListVer15.Builder();
    }
    public OFBsnTlvUint64List uint64List(List<U64> value) {
        return new OFBsnTlvUint64ListVer15(
                value
                    );
    }

    public OFBsnTlvUnicastQueryTimeout.Builder buildUnicastQueryTimeout() {
        return new OFBsnTlvUnicastQueryTimeoutVer15.Builder();
    }
    public OFBsnTlvUnicastQueryTimeout unicastQueryTimeout(long value) {
        return new OFBsnTlvUnicastQueryTimeoutVer15(
                value
                    );
    }

    public OFBsnTlvUnicastRate.Builder buildUnicastRate() {
        return new OFBsnTlvUnicastRateVer15.Builder();
    }
    public OFBsnTlvUnicastRate unicastRate(long value) {
        return new OFBsnTlvUnicastRateVer15(
                value
                    );
    }

    public OFBsnTlvUnknownMulticastRate.Builder buildUnknownMulticastRate() {
        return new OFBsnTlvUnknownMulticastRateVer15.Builder();
    }
    public OFBsnTlvUnknownMulticastRate unknownMulticastRate(long value) {
        return new OFBsnTlvUnknownMulticastRateVer15(
                value
                    );
    }

    public OFBsnTlvUntagged untagged() {
        return OFBsnTlvUntaggedVer15.INSTANCE;
    }

    public OFBsnTlvUpgrade.Builder buildUpgrade() {
        return new OFBsnTlvUpgradeVer15.Builder();
    }
    public OFBsnTlvUpgrade upgrade(OFBsnUpgrade value) {
        return new OFBsnTlvUpgradeVer15(
                value
                    );
    }

    public OFBsnTlvUriScheme.Builder buildUriScheme() {
        return new OFBsnTlvUriSchemeVer15.Builder();
    }
    public OFBsnTlvUriScheme uriScheme(byte[] value) {
        return new OFBsnTlvUriSchemeVer15(
                value
                    );
    }

    public OFBsnTlvUsePacketState.Builder buildUsePacketState() {
        return new OFBsnTlvUsePacketStateVer15.Builder();
    }
    public OFBsnTlvUsePacketState usePacketState(short value) {
        return new OFBsnTlvUsePacketStateVer15(
                value
                    );
    }

    public OFBsnTlvUserConfigured userConfigured() {
        return OFBsnTlvUserConfiguredVer15.INSTANCE;
    }

    public OFBsnTlvVfi.Builder buildVfi() {
        return new OFBsnTlvVfiVer15.Builder();
    }
    public OFBsnTlvVfi vfi(int value) {
        return new OFBsnTlvVfiVer15(
                value
                    );
    }

    public OFBsnTlvVfpClassId.Builder buildVfpClassId() {
        return new OFBsnTlvVfpClassIdVer15.Builder();
    }
    public OFBsnTlvVfpClassId vfpClassId(long value) {
        return new OFBsnTlvVfpClassIdVer15(
                value
                    );
    }

    public OFBsnTlvVirtual virtual() {
        return OFBsnTlvVirtualVer15.INSTANCE;
    }

    public OFBsnTlvVlanMacList.Builder buildVlanMacList() {
        return new OFBsnTlvVlanMacListVer15.Builder();
    }
    public OFBsnTlvVlanMacList vlanMacList(List<OFBsnVlanMac> key) {
        return new OFBsnTlvVlanMacListVer15(
                key
                    );
    }

    public OFBsnTlvVlanPcp.Builder buildVlanPcp() {
        return new OFBsnTlvVlanPcpVer15.Builder();
    }
    public OFBsnTlvVlanPcp vlanPcp(short value) {
        return new OFBsnTlvVlanPcpVer15(
                value
                    );
    }

    public OFBsnTlvVlanVid.Builder buildVlanVid() {
        return new OFBsnTlvVlanVidVer15.Builder();
    }
    public OFBsnTlvVlanVid vlanVid(VlanVid value) {
        return new OFBsnTlvVlanVidVer15(
                value
                    );
    }

    public OFBsnTlvVlanVidMask.Builder buildVlanVidMask() {
        return new OFBsnTlvVlanVidMaskVer15.Builder();
    }
    public OFBsnTlvVlanVidMask vlanVidMask(int value) {
        return new OFBsnTlvVlanVidMaskVer15(
                value
                    );
    }

    public OFBsnTlvVni.Builder buildVni() {
        return new OFBsnTlvVniVer15.Builder();
    }
    public OFBsnTlvVni vni(long value) {
        return new OFBsnTlvVniVer15(
                value
                    );
    }

    public OFBsnTlvVpnKey.Builder buildVpnKey() {
        return new OFBsnTlvVpnKeyVer15.Builder();
    }
    public OFBsnTlvVpnKey vpnKey(long value) {
        return new OFBsnTlvVpnKeyVer15(
                value
                    );
    }

    public OFBsnTlvVrf.Builder buildVrf() {
        return new OFBsnTlvVrfVer15.Builder();
    }
    public OFBsnTlvVrf vrf(long value) {
        return new OFBsnTlvVrfVer15(
                value
                    );
    }

    public OFBsnTlvVxlanEgressLag vxlanEgressLag() {
        return OFBsnTlvVxlanEgressLagVer15.INSTANCE;
    }

    public OFMessageReader<OFBsnTlv> getReader() {
        return OFBsnTlvVer15.READER;
    }

    public OFVersion getVersion() {
            return OFVersion.OF_15;
    }
}


text:
package test;

interface AnotherService { }


text:
package de.tudarmstadt.informatik.tk.assistance.sdk.model.api.sensing.sensor.contact;

import com.google.gson.annotations.Expose;
import com.google.gson.annotations.SerializedName;

import java.util.Set;

import de.tudarmstadt.informatik.tk.assistance.sdk.model.api.SensorDto;
import de.tudarmstadt.informatik.tk.assistance.sdk.model.api.sensing.SensorApiType;

/**
 * @author Wladimir Schmidt (wlsc.dev@gmail.com)
 * @date 24.11.2015
 */
public class ContactSensorDto implements SensorDto {

    @SerializedName("globalContactId")
    @Expose
    private Long globalContactId;

    @SerializedName("displayName")
    @Expose
    private String displayName;

    @SerializedName("givenName")
    @Expose
    private String givenName;

    @SerializedName("familyName")
    @Expose
    private String familyName;

    @SerializedName("starred")
    @Expose
    private Integer starred;

    @SerializedName("lastTimeContacted")
    @Expose
    private Integer lastTimeContacted;

    @SerializedName("timesContacted")
    @Expose
    private Integer timesContacted;

    @SerializedName("note")
    @Expose
    private String note;

    @SerializedName("phoneNumbers")
    @Expose
    private Set<ContactEmailNumber> phoneNumbers;

    @SerializedName("emailAddresses")
    @Expose
    private Set<ContactEmailNumber> emailAddresses;

    @SerializedName("isDeleted")
    @Expose
    private Boolean isDeleted;

    @SerializedName("created")
    @Expose
    private String created;

    @SerializedName("type")
    @Expose
    private String typeStr;

    private int type;

    public ContactSensorDto() {
        this.type = SensorApiType.CONTACT;
        this.typeStr = SensorApiType.getApiName(this.type);
    }

    public ContactSensorDto(Long globalContactId, String displayName, String givenName, String familyName, Integer starred, Integer lastTimeContacted, Integer timesContacted, String note, Set<ContactEmailNumber> phoneNumbers, Set<ContactEmailNumber> emailAddresses, Boolean isDeleted, String created) {
        this.globalContactId = globalContactId;
        this.displayName = displayName;
        this.givenName = givenName;
        this.familyName = familyName;
        this.starred = starred;
        this.lastTimeContacted = lastTimeContacted;
        this.timesContacted = timesContacted;
        this.note = note;
        this.phoneNumbers = phoneNumbers;
        this.emailAddresses = emailAddresses;
        this.isDeleted = isDeleted;
        this.created = created;
    }

    public Long getGlobalContactId() {
        return globalContactId;
    }

    public void setGlobalContactId(Long globalContactId) {
        this.globalContactId = globalContactId;
    }

    public String getDisplayName() {
        return displayName;
    }

    public void setDisplayName(String displayName) {
        this.displayName = displayName;
    }

    public String getGivenName() {
        return givenName;
    }

    public void setGivenName(String givenName) {
        this.givenName = givenName;
    }

    public String getFamilyName() {
        return familyName;
    }

    public void setFamilyName(String familyName) {
        this.familyName = familyName;
    }

    public Integer getStarred() {
        return starred;
    }

    public void setStarred(Integer starred) {
        this.starred = starred;
    }

    public Integer getLastTimeContacted() {
        return lastTimeContacted;
    }

    public void setLastTimeContacted(Integer lastTimeContacted) {
        this.lastTimeContacted = lastTimeContacted;
    }

    public Integer getTimesContacted() {
        return timesContacted;
    }

    public void setTimesContacted(Integer timesContacted) {
        this.timesContacted = timesContacted;
    }

    public String getNote() {
        return note;
    }

    public void setNote(String note) {
        this.note = note;
    }

    public Set<ContactEmailNumber> getPhoneNumbers() {
        return phoneNumbers;
    }

    public void setPhoneNumbers(Set<ContactEmailNumber> phoneNumbers) {
        this.phoneNumbers = phoneNumbers;
    }

    public Set<ContactEmailNumber> getEmailAddresses() {
        return emailAddresses;
    }

    public void setEmailAddresses(Set<ContactEmailNumber> emailAddresses) {
        this.emailAddresses = emailAddresses;
    }

    public Boolean getIsDeleted() {
        return isDeleted;
    }

    public void setIsDeleted(Boolean isDeleted) {
        this.isDeleted = isDeleted;
    }

    @Override
    public String getCreated() {
        return created;
    }

    public void setCreated(String created) {
        this.created = created;
    }

    public String getTypeStr() {
        return typeStr;
    }

    public void setTypeStr(String typeStr) {
        this.typeStr = typeStr;
    }

    @Override
    public int getType() {
        return this.type;
    }

    @Override
    public String toString() {
        return "ContactSensorDto{" +
                ", globalContactId=" + globalContactId +
                ", displayName='" + displayName + '\'' +
                ", givenName='" + givenName + '\'' +
                ", familyName='" + familyName + '\'' +
                ", starred=" + starred +
                ", lastTimeContacted=" + lastTimeContacted +
                ", timesContacted=" + timesContacted +
                ", note='" + note + '\'' +
                ", phoneNumbers=" + phoneNumbers +
                ", emailAddresses=" + emailAddresses +
                ", isDeleted=" + isDeleted +
                ", created='" + created + '\'' +
                ", typeStr='" + typeStr + '\'' +
                ", type=" + type +
                '}';
    }
}


text:
package com.github.weisj.darklaf.ui.rootpane;

import javax.swing.*;
import javax.swing.plaf.UIResource;

import com.github.weisj.darklaf.components.border.MutableLineBorder;
import com.github.weisj.darklaf.nativelaf.DecorationsHandler;

public class DarkRootPaneBorder extends MutableLineBorder implements UIResource {

    public DarkRootPaneBorder() {
        super(UIManager.getInsets("RootPane.borderInsets"), UIManager.getColor("RootPane.borderColor"));
    }

    @Override
    public int getTop() {
        return DecorationsHandler.getSharedInstance().isCustomDecorationSupported() ? super.getTop() : 0;
    }
}


text:
import sys
import os
import subprocess
import socket
try:
    import json
except ImportError:
    import simplejson as json

try:
    config_file = file('/etc/yanoama.conf').read()
    config = json.loads(config_file)
except Exception, e:
    print "There was an error in your configuration file (/etc/yanoama.conf)"
    raise e

#  Amen Defaults
BACKEND = config.get('backend', 'mongodb')

_backend = config.get('backend', {})
_mongo = _backend.get('mongo', {})

hostname = subprocess.Popen(['hostname'], stdout=subprocess.PIPE, close_fds=True)\
        .communicate()[0].rstrip()
ip_address=socket.gethostbyname(hostname)

MONGO = {
    'port': _mongo.get('port', 39167),
#    'host': _mongo.get('host', '127.0.0.1'),
    'host': ip_address,
    'user': _mongo.get('user', ''),
    'password': _mongo.get('password', ''),
    'database' : 'amen',
}

# 1 minute default
SYSTEM_CHECK_PERIOD = config.get('system_check_period', 60)

# default storage path for objects
STORAGE_PATH = config.get('storage_path', '/tmp/objects')
if not os.path.isdir(STORAGE_PATH):
    os.makedirs(STORAGE_PATH)

#SYSTEM_CHECKS = ['cpu', 'memory', 'disk', 'network', 'loadavg']
SYSTEM_CHECKS = ['node']

if sys.platform == 'darwin':
    del SYSTEM_CHECKS[3] # Delete network check on macos

key = config.get('secret_key', None)
PROXY = config.get('proxy', None) # Relative baseurl if true

TIMEZONE = config.get('timezone','UTC')

if key != None and len(key) > 0:
    SECRET_KEY = key
else:
    SECRET_KEY = 'TGJKhSSeZaPZr24W6GlByAaLVe0VKvg8qs+8O7y=' #Don't break the dashboard


text:
/**
	`PaginationView`

	@class 		PageListView
	@namespace 	Northwind.Common.Components.Grid
	@extends 	Ember.ContainerView

 */

Northwind.Common.Components.Grid.PaginationView = Ember.ContainerView.extend({

	tagName: 'div',

	classNames: ['pull-right', 'table-pagination'],

	childViews: ['pageList'],

	/**
		pageList
	**/
	pageList: Northwind.Common.Components.Grid.PageListView.create()

});


text:
import { inject as service } from '@ember/service';
import Component from '@ember/component';
import Errors from 'ui/utils/errors';
import layout from './template';
import { get, set, observer } from '@ember/object';

export default Component.extend({
  layout,
  tagName:     'section',
  classNames:  ['well'],
  settings:    service(),
  access:      service(),
  github:      service(),

  model:       null,
  individuals: 'siteAccess.users',
  collection:  'siteAccess.groups',
  principals:  null,

  saved:       true,
  errors:      null,

  init() {
    this._super(...arguments);
    this.accessModeChanged();
  },

  actions: {
    addAuthorized(principal) {
      if ( !principal ) {
        return;
      }

      this.send('clearError');
      set(this, 'saved', false);
      get(this, 'model.allowedPrincipalIds').pushObject(principal.id);
    },

    removeAuthorized(id) {
      set(this, 'saved', false);
      get(this, 'model.allowedPrincipalIds').removeObject(id);
    },

    save(btnCb) {
      this.send('clearError');

      if ( get(this, 'model.accessMode') === 'required' && !get(this, 'model.allowedPrincipalIds.length') )
      {
        this.send('gotError', 'You must add at least one authorized entry');
        btnCb();
        return;
      }

      set(this, 'saved', false);

      let model = get(this, 'model');
      model.save().then(() => {
        set(this, 'saved', true);
      }).catch((err) => {
        this.send('gotError', err);
      }).finally(() => {
        btnCb();
      });
    },

    gotError(err) {
      set(this, 'errors', [Errors.stringify(err)]);
    },

    clearError() {
      set(this, 'errors', null);
    },
  },

  showList: function() {
    return get(this, 'model.accessMode') !== 'unrestricted';
  }.property('model.accessMode'),

  accessModeChanged: observer('model.accessMode', function() {
    set(this, 'saved',false);

    let allowedPrincipals = get(this, 'model.allowedPrincipalIds') || []; // ['princ_id1://yada']

    if ( get(this, 'model.accessMode') !== 'unrestricted' ) {

      let me = get(this, 'access.principal')||[];

      let found = allowedPrincipals.filter(ident => get(me, 'id') === ident).length > 0;

      if ( !found ) {
        allowedPrincipals.pushObject(get(me, 'id'));
      }
    }

    set(this, 'model.allowedPrincipalIds', allowedPrincipals);
  }),

});